Re: fstab question
On 12-Mar-99 shaul wrote: I am using sudo for doing it. Perhaps the automounter can also help, but I have not tried it. I do not know if there is a way to do it with groups permitions and fstab. If there is I would also like to know. hope this help. Isn't it possible to set up fstab to that only users of a certain group can mount or unmount floppies or CDROM? I don't want just anyone to be able to do it, but I would like to be able to do it without being root. I did use sudo and then I took a different route. I made the 'mount' binary executable only by root.wheel. It works great. -- Andrew *happiness is a clean pond* [PGP5.0 KeyID 0x5EE61C37]
Re: fstab question
On Thu, Mar 11, 1999 at 04:33:04AM -, Pollywog wrote: Is there a way for me to be able to mount both /a and /floppy on the KDE desktop (no, not at the same time)? It seems I will have to mount /a from the command line only, when I need to mount a dos floppy (not often). Do you really need to have separate mount points according to the filesystem? You can set the filesystem type to auto and let the kernel work out what it is. That's what I do for floppies, although I don't use KDE, so I don't know exactly what you want. -- Matt Folwell, P2 Whewell's Court, Trinity College, Cambridge. CB2 1TQ [EMAIL PROTECTED]
Re: fstab question
Hi, When I use the 'auto' filesystem type in fstab, my vfat floppies are detected as umsdos and I lose the long filenames. Is there a way around this? Andy Holmes West Sussex, England [EMAIL PROTECTED] The path of my life is strewn with cow pats from the devil's own satanic herd!, Edmund Blackadder
Re: fstab question
Is there a way for me to be able to mount both /a and /floppy on the KDE desktop (no, not at the same time)? It seems I will have to mount /a from the command line only, when I need to mount a dos floppy (not often). Using mtools can save you the trouble of dealing with fstab when dos/vfat floppies are concerned and let you use groups permitions in order restrict access to the floppy drive.
Re: fstab question
I am using sudo for doing it. Perhaps the automounter can also help, but I have not tried it. I do not know if there is a way to do it with groups permitions and fstab. If there is I would also like to know. hope this help. Isn't it possible to set up fstab to that only users of a certain group can mount or unmount floppies or CDROM? I don't want just anyone to be able to do it, but I would like to be able to do it without being root.
RE: fstab question
On 11-Mar-99 Pollywog wrote: Are there any obvious problems with my /etc/fstab? thanks -- Andrew /dev/sda1 / ext2defaults,errors=remount-ro 0 1 /dev/sda3 noneswapsw 0 0 proc/proc procdefaults0 0 /dev/sda2 /local ext2 defaults 0 2 /dev/fd0/a msdos defaults,user,rw,noauto 0 0--- /dev/hda/cdrom iso9660 ro,user,noauto 0 0 /dev/fd0/floppyext2defaults,user,rw,noauto 0 0 Okay, I found the problem. I added the last line today and neglected to comment out the line I labeled with an arrow above. Is there a way for me to be able to mount both /a and /floppy on the KDE desktop (no, not at the same time)? It seems I will have to mount /a from the command line only, when I need to mount a dos floppy (not often). thanks -- Andrew -- PGP Key ID 0x5EE61C37 PGP5.0 --
RE: fstab question
On Thu, 11 Mar 1999, Pollywog wrote: Is there a way for me to be able to mount both /a and /floppy on the KDE desktop (no, not at the same time)? It seems I will have to mount /a from the command line only, when I need to mount a dos floppy (not often). There is gitmount (package: git).
Re: fstab question
On Thu, Oct 02, 1997 at 12:11:53AM -0400, Shaleh wrote: is there a way to specify an item without listing a fs type. I have an external parport device that I have both msdos and ext2 formatted disks for. I have separate lines in fstab corresponding to different directories. /dev/sda1 /mnt/lzip ext2noauto,user,umask=000 0 0 /dev/sda4 /mnt/dzip vfatnoauto,user,umask=000 0 0 -- Mike Schmitz [EMAIL PROTECTED]http://www.bend-or.com/~mschmitz Don't blame me - I voted libertarian!http://www.lp.org/ Use Debian Linux - the free Gnu/Linuxhttp://www.debian.org/ --- If encryption is outlawed, only outlaws will have encryption
Re: fstab question
On Thu, Oct 02, 1997 at 12:11:53AM -0400, Shaleh wrote: is there a way to specify an item without listing a fs type. I have an external parport device that I have both msdos and ext2 formatted disks for. I have separate lines in fstab corresponding to different directories. /dev/sda1 /mnt/lzip ext2noauto,user,umask=000 0 0 /dev/sda4 /mnt/dzip vfatnoauto,user,umask=000 0 0 -- Mike Schmitz [EMAIL PROTECTED]http://www.bend-or.com/~mschmitz Don't blame me - I voted libertarian!http://www.lp.org/ Use Debian Linux - the free Gnu/Linuxhttp://www.debian.org/ --- If encryption is outlawed, only outlaws will have encryption -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: fstab question
On 1 Oct, Mike Schmitz wrote: On Thu, Oct 02, 1997 at 12:11:53AM -0400, Shaleh wrote: is there a way to specify an item without listing a fs type. I have an external parport device that I have both msdos and ext2 formatted disks for. I have separate lines in fstab corresponding to different directories. /dev/sda1 /mnt/lzip ext2noauto,user,umask=000 0 0 /dev/sda4 /mnt/dzip vfatnoauto,user,umask=000 0 0 You can get away with using the same mountpoint for both types of disk by mounting with 'mount /mnt/zip'. the ext2-disk gets the permissions of the mountpoint and the dos/vfat-disk gets the permissions by the options umask, gid and uid /dev/sda1 /zip ext2 noauto,user,async 1 1 /dev/sda4 /zip vfat noauto,user,async,gid=35,umask=007 1 1 Besides that way there's the 'auto' thing: From 'man mount': -t vfstype The argument following the -t is used to indicate the file system type. The file system types which are currentlysupportedarelistedin linux/fs/filesystems.c: minix, ext, ext2, xiafs, hpfs, fat, msdos, umsdos, vfat, proc, nfs, iso9660, smb, ncp, affs, ufs, sysv, xenix, coherent. Note that the last three are equivalent and that xenix and coherent will be removed at some point in the future -- use sysv instead. The type iso9660 is the default. If no -t option is given, or if the auto type is specified, the superblock is probed for the filesystem type (minix, ext, ext2, xia, iso9660 are supported). If this probe fails and /proc/filesystems exists, then all of the filesystems listed there will be tried, except for those that are labeled nodev (e.g., proc and nfs). Note that the auto type may be useful for user- mounted floppies. Warning: the probing uses a heuristic (the presence of appropriate `magic'), and could recognize the wrong filesystem type. More than one type may be specified in a comma sepĀ arated list. The list of file system types can be prefixed with no to specify the file system types on which no action should be taken. (This can be meaningful with the -a option.) For example, the command: mount -a -t nomsdos,ext mounts all file systems except those of type msdos and ext. -- |Linux: Turn on...Tune in...Fork out... | |Michael Tempsch, member of Ballistic Wizards, TIP#088, POG#130 | | [EMAIL PROTECTED] | [EMAIL PROTECTED] | [EMAIL PROTECTED] | | Cell.Phone:+46 705487554 URL:http://www.dtek.chalmers.se/%7Ed1temp | -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: fstab question
Mike Schmitz wrote: On Thu, Oct 02, 1997 at 12:11:53AM -0400, Shaleh wrote: is there a way to specify an item without listing a fs type. I have an external parport device that I have both msdos and ext2 formatted disks for. I have separate lines in fstab corresponding to different directories. /dev/sda1 /mnt/lzip ext2noauto,user,umask=000 0 0 /dev/sda4 /mnt/dzip vfatnoauto,user,umask=000 0 0 hardly believe that you set the umask to 000, you want everyone to read/write/execute files on your dos partition? -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: fstab question
Shaleh wrote: is there a way to specify an item without listing a fs type. I have an external parport device that I have both msdos and ext2 formatted disks for. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . I solved the problem with my floppy drives by specifying different mount points in the /etc/fstab as follows for the first floppy drive: /dev/fd0/floppy ext2 rw,noauto,user0 0 /dev/fd0/a: msdosrw,noauto,user0 0 This way I am able to mount a msdos or an ext2 floppy with a simple mount /floppy for ext2 or mount /a: for a msdos floppy Have a Great Day :-) -- 0 0 http://www.netaxs.com/~ldc/ ___ooO ~ Ooo___ LeRoy D. Cressy /\_/\ [EMAIL PROTECTED] Computer Consulting ( o.o ) (215) 389-5870 ^ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .