waldek wrote: > I'm quite surprised Jerry was able to _mount_ /dev/sdb at all, as I > understand it, the /dev/sd? entries refer to whole devices while /dev/sdb? > to partitions on the device. So one should mount /dev/sdb1 instead > of /dev/sdb. Or I'm missing something?
That depends on what you do. You don't necessarily have to create a partition table on a usb stick/flash drive/whatever. Linux has few restrictions in that area, so you can create a filesystem on sdb instead of creating a partition in sdb and a filesystem in sdb1. For some devices, this behaviour (sometimes referred to as "superfloppy") is the default. On other operating systems(tm), there could be more restrictions, but afaik even Windows supports both the hard disk and the superfloppy way (at least for usb sticks). Patrick Leslie Polzer wrote: > | The mount line is wrong. When you use mount as a user, you can only > specify either the device or the > | mount point, the other will be obtained from fstab. Specifying them both > at the same time will > | always result in the above error. > That is not fully correct -- if mount is setuid, the above syntax will work. No. I was in fact completely correct. If mount is not setuid, you are not able to mount anything as user at all. If mount is setuid (as it is by default), you can use either of the following methods for any fstab entry that has user(s) in the options column. mount $mountpoint mount $device But the normal mount $device $mountpoint will fail with the "Only root can do that" error message. Try it :) _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
