LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Jake Hawkes <jake@eclectic.com.au>
  To  : Matthew Hamnett <hammer@epc.net.au>
  Date: Wed, 09 Feb 2000 08:34:10 +1030

Re: A quick question about mounting HDD

Matthew Hamnett wrote:
> 
> I'm trying to mount my 2 Win98 partitions using  fstab. Here's the file
> 
here's my fstab:

/dev/hda3	/                       ext2    defaults        1 1
/dev/hda1	/boot                   ext2    defaults        1 2
/dev/hdc5	/win95                  ext2    defaults	1 2
/dev/hdc1	swap                    swap    defaults        0 0
/dev/fd0	/mnt/floppy		ext2    noauto,users    0 0
/dev/fd0	/mnt/floppy		vfat	noauto,users	0 0
/dev/cdrom	/mnt/cdrom              iso9660 noauto,ro,users 0 0
/dev/hda5	/win/F			vfat	defaults,users	1 1
/dev/hdd1	/win/E			vfat	defaults,users	1 1
none		/proc                   proc    defaults        0 0
none		/dev/pts                devpts  mode=0622       0 0


the "users" flag means that users can mount it.

to be able to write to this drive, I make my mount point owned by a
non-root user.

e.g. I want to be able to write to my drive /dev/hda5, which I've
mounted on /win/F
so I did a:
$> chown jake /win/F

that works for me.


p.s. same for smbmounts
--
Jake Hawkes, B.Eng (CSE)

"I'm only smart enough to know how stupid I am", Joe Strummer.

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page