D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] NFS with DHCP

 

Simon Waters wrote:

Cough - eek - for goodness sake use NFS and RTFM if going *n?x to *n?x,
or later network filesystems from the *n?x stable.

Oops. As in my last mail I've just set up Samba :) Partly though due to the fact that as I said the machines dual boot, so I need the network to behave whether the machines are both in Linux or *either* is in Windows.


Write a script to mount/umount? Why not just use one of the automounting
daemons, or the "umount" command, I don't think a script is needed.

Now this topic is one that I am *very* interested in, for one simple reason, OK two reasons:


1. My pet hate is clutter and for some reason Mandrake plasters my desktop with mounted drives, such as the 4 drives in my MultiCard Reader.

2. The PC hangs looking for the multicard devices every boot and changes its' mind (it's a USB device) seemingly on a whim as to whether it can see them or not. I know it's probably NOT a whim but it is random enough that I can't pin down why sometimes it sees the drive and other times not, aside from it being a Useless Serial Bus device that is ;)

What I would *like* to do is quite simple. It is obvious that the CD behaves as a proper "removable device" and the icon for my CD only appears when there is a CD or DVD actually in the drive. I'd like the other removable drives I have to behave the same way. I've looked at the man pages for mounting devices, and studied the fstab entry for the CD in comparison to the other devices. The first I'll admit confused me, while the second I could not work out which bits I needed and which were overkill and/or specific to a CD.

My fstab at the moment looks like this:

/dev/hda8 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda10 /home ext2 defaults 1 2
/dev/hdb6 /mnt/aragorn ntfs umask=0,nls=iso8859-15,ro 0 0
/dev/hda5 /mnt/aria vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hdd /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
/dev/hda7 /mnt/cynthia vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0
/dev/hdb5 /mnt/frodo ntfs umask=0,nls=iso8859-15,ro 0 0
/dev/hda1 /mnt/natalie vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
//rachel/rachel /mnt/rachel smbfs username=% 0 0
/dev/hdb1 /mnt/sam vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/sda1 /mnt/sitecom/mmcsd vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/sdb1 /mnt/sitecom/smart vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hda6 /mnt/sydney vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda9 swap swap defaults 0 0


I *think* I need the automount option and maybe Mandrake's Supermount?

Does that sound right?

BTW one of my hard disks is in a removable caddy but the system sees it as an internal drive, so I'm assuming if I unplugged it the system just wouldn't mount it.

Kind regards,

Julian

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.