Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Built-In Format USB

  1. #1
    Join Date
    Jan 2014
    Posts
    28

    Default Built-In Format USB

    Where would you suggest a feature be added to the default install, such as a right-hand mouse click option to format, say, USB drives within the system. It would be nice to format them quickly.......yes, like in Windows!

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,003

    Default Re: Built-In Format USB

    Can you please explain a bit more about what you want. At least I do not understand what you say. Specialy mentioning Windows does not help as I do not know very much about Windows.

    "Formatting" (that is creating a file system on a mass storage container like a partition, a logical volume or the like) is not different for different underlying hardware. Thus it is not different for a partition on a revolving disk on a PCI bus, or a sticky on an USB (or another mutation of those storage/bus combinatiions). You can e.g. do it using YaST > System > Partitioning, or with the CLII commands from the mkfs set.
    Henk van Velden

  3. #3
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,085

    Default Re: Built-In Format USB

    I don't think that most people want this. If it is something you need, why not set it up yourself?
    One way to do this.. I am assuming KDE.

    Right click on the device notifier in the task panel, and select device notifier settings, and set what you want to happen in device actions.

    Tumbleweed/KDE/Ati Radeon R9 270/AMD FX-6300/8Gb DDR3

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Built-In Format USB

    On 2014-01-11 16:56, wakou wrote:
    >
    > I don't think that most people want this. If it is something you need,
    > why not set it up yourself?
    > One way to do this.. I am assuming KDE.
    >
    > Right click on the device notifier in the task panel, and select device
    > notifier settings, and set what you want to happen in device actions.


    All those things are complicated, and anyway, require root permissions.

    Not very long ago, there were GUI applications on the menu to just quick
    format a floppy. The application automatically found the floppy to do it.

    What the OP wants, I guess, is just such a quick and safe application to
    do it, as user. I don't know of any such thing.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  5. #5
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Built-In Format USB

    Am 11.01.2014 21:53, schrieb Carlos E. R.:
    > What the OP wants, I guess, is just such a quick and safe application to
    > do it, as user. I don't know of any such thing.
    >

    quick-usb-formatter

    I had to add myself to the disk group when I first installed it to avoid
    running it as root. I have not tested it on 13.1, but I see it is still
    available.

    --
    PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
    ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
    HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Built-In Format USB

    On 2014-01-12 00:03, Martin Helm wrote:
    > Am 11.01.2014 21:53, schrieb Carlos E. R.:
    >> What the OP wants, I guess, is just such a quick and safe application to
    >> do it, as user. I don't know of any such thing.
    >>

    > quick-usb-formatter
    >
    > I had to add myself to the disk group when I first installed it to avoid
    > running it as root. I have not tested it on 13.1, but I see it is still
    > available.


    Interesting! :-)

    It is not part of the default repos, I see it in KDE:Extra.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,003

    Default Re: Built-In Format USB

    IMHO adding an end-user to the disk group is not a very secure idea.

    As I tried to explain above, there no difference between formatting mass storage connected through USB or any other bus. Thus this adding will make it possible to destroy (by making an new fs, or by any wrtiting program) all mass storage on your system. In other wordfs, it will nullify an important barrier to self destruction.
    Code:
    henk@boven:~> l /dev/sd*
    brw-rw---- 1 root disk 8,  0 12 jan 11:21 /dev/sda
    brw-rw---- 1 root disk 8,  1 12 jan 11:21 /dev/sda1
    brw-rw---- 1 root disk 8,  2 12 jan 11:21 /dev/sda2
    brw-rw---- 1 root disk 8,  3 12 jan 11:21 /dev/sda3
    brw-rw---- 1 root disk 8,  4 12 jan 11:21 /dev/sda4
    brw-rw---- 1 root disk 8,  5 12 jan 11:21 /dev/sda5
    brw-rw---- 1 root disk 8,  6 12 jan 11:21 /dev/sda6
    brw-rw---- 1 root disk 8, 16 12 jan 11:21 /dev/sdb
    brw-rw---- 1 root disk 8, 32 12 jan 11:21 /dev/sdc
    brw-rw---- 1 root disk 8, 48 12 jan 11:21 /dev/sdd
    brw-rw---- 1 root disk 8, 64 12 jan 11:21 /dev/sde
    henk@boven:~>
    I see this as only marginaly different from running allways and everything as root.
    Henk van Velden

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Built-In Format USB

    On 2014-01-12 12:26, hcvv wrote:
    >
    > IMHO adding an end-user to the disk group is not a very secure idea.


    Well... yes...

    The alternative could be making that program SUID, and runable only by
    some new group; or using sudo. I'm not about to install that program to
    check it, but I hope it takes precautions to identify USB sticks.



    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  9. #9
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Built-In Format USB

    Am 12.01.2014 14:18, schrieb Carlos E. R.:
    > On 2014-01-12 12:26, hcvv wrote:
    >>
    >> IMHO adding an end-user to the disk group is not a very secure
    >> idea.

    >
    > Well... yes...
    >
    > The alternative could be making that program SUID, and runable only
    > by some new group; or using sudo. I'm not about to install that
    > program to check it, but I hope it takes precautions to identify USB
    > sticks.
    >

    I do not say that it is secure to heavily enhance the range of rights a
    user has. I just gave an example of a program which more or less does
    what is asked for and one possible way to make it work as user.
    Of course one can also always do it the good old way and change the menu
    entry to run it like yast with xdg-su.

    The program identifies and only shows usb devices for formatting (which
    by the way made it useless for me, because it does not accept to format
    a card in my card reader).

    --
    PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
    ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
    HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

  10. #10
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,003

    Default Re: Built-In Format USB

    As the OP is clearly a brand new Linux user, I thought a warning might be usefull.
    Henk van Velden

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •