USB thumb drive pulled and icon left on desktop - how do I remove it??

Derek Broughton derek at pointerstop.ca
Tue Jan 20 14:24:37 UTC 2009


Karl F. Larsen wrote:


>     Fstab does NOT control mount, it USES mount. Here is my fstab and
> notice there is no /dev/sda2 in fstab.

Don't be a fool.  _mount_ uses /etc/fstab, not vice versa.  fstab provides 
mount with the defaults for particular devices - that is, it _controls_ 
mount.
 
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc            /proc           proc    defaults        0       0
> # /dev/sda6
> UUID=8713c541-dffa-4fd2-b22b-e600afacbab2 /               ext3
> relatime,errors=remount-ro 0       1
> # /dev/sda3
> UUID=77cb374a-6349-427e-9b57-ea6776f4a52d none            swap
> sw              0       0
> /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0      
> 0
> # /dev/sda5       /home       ext3     defaults        1   2
> UUID=40cb6175-3c6e-4a7f-ae57-083cccbbba63 /home  ext3 defaults 1  2

And your point is what?  You've already said you need to be root to mount 
/dev/sda2 - that's _because_ you haven't got it in fstab.  You _don't_ have 
to be root to mount /dev/scd0 - because it is in fstab and has the "user" 
option.  However, /dev/scd0 is only in there for legacy reasons, and would 
still mount via hal, udev and pmount, automatically if you removed it from 
the fstab file.






More information about the ubuntu-users mailing list