Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use of Root (su)



On Thu, 2005-01-27 at 18:27 -0500, Derek Atkins wrote:
> <karina.popkova at verizon.net> writes:
> > Is the need to go to root, typical,
> > to mount a filesystem, or to make 
> > a ext2fs ???
> 
> It's typical that you cannot "mount" without root access.  But you
> should have the access to make the filesystem on /dev/fd0 (actually
> you should probably use /dev/fd0H1440) without being root.  At least
> on my RH system (Actually linux-athena 9.3) /dev/fd0 is owned by me.

You can mount as a non-root user as long as there is an /etc/fstab entry
for the device with "user" as an option.  

I would check for a floppy entry in /etc/fstab.  If the path is mounting
to is different, then you may successfully mount to the specified
mountpoint.

One note though:
> > mount -t /dev/fd0 /mnt/floppy 
> > mke2fs /dev/fd0 1440

Running mke2fs on a mounted filesystem isn't exactly recommended.  You
should mke2fs, and THEN mount.

Greg Boyce





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org