Re: [newbie] fstab + supermount help ..
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 23 Jan 2005 17:55, RickSisler wrote: Hi All, Somehow I borked my fstab settings with supermount, could someone take a look at this for me ? /dev/hdb1 / ext3 defaults 1 1 /dev/hda5 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=none,fs=supermount,--,/dev/hdc auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users none /mnt/cdrom2 supermount dev=none,fs=supermount,--,/dev/hdd auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0 /dev/hda1 /mnt/windows vfat umask=0,iocharset=iso8859-1,codepage=850 0 0 /dev/hdb7 /music ext3 defaults 1 2 none /proc proc defaults 0 0 /dev/hdb6 /usr ext3 defaults 1 2 /dev/hdb5 swap swap defaults 0 0 /dev/sdb1 /mnt/removable auto umask=0,user,iocharset=iso8859-1,sync,kudzu, codepage=850,noauto,exec,users 0 0 My intent is to rip a dvd and dvd:rip is having issues with the mounting of /mnt/cdrom (dvd burner), I suspect its the dev=none part but I'm not sure how to change it, err fix this .. Thx for the any suggestions, Both cdrom entries have 'noauto'. If you are using supermount I dont think that's compatible. Supermount is expected to mount whenever there is something to mount, but 'noauto' says don't automatically mount, I'll do it manually. Here are my two lines: none /mnt/cdrom supermount dev=/dev/hdg,fs=iso9660,ro,--,umask=0,user,iocharset=iso8859-15,codepage=850,suid 0 0 none /mnt/cdrom2 supermount dev=/dev/hdh,fs=auto,ro,exec,--,rw,umask=0022,user,iocharset=iso8859-15,codepage=850,suid 0 0 HTH Anne - -- Registered Linux User No.293302 (http://counter.li.org/) Have you visited http://twiki.mdklinuxfaq.org yet? Mandrake at all levels -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFB8+tZkFAvMr/nNX8RAmCDAKCL7E7OH3jQgVlIiSk6sfnd5m5chQCfbmo+ ozO5q3unXHk6Z7rcCgVDcfo= =aDVr -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] fstab + supermount help ..
Anne Wilson ([EMAIL PROTECTED]) wrote: gpg: CRC error; 68356b - dc3683 gpg: quoted printable character in armor - probably a buggy MTA has been used On Sunday 23 Jan 2005 17:55, RickSisler wrote: Hi All, Somehow I borked my fstab settings with supermount, could someone take a look at this for me ? manually. Here are my two lines: none /mnt/cdrom supermount=20 dev=3D/dev/hdg,fs=3Diso9660,ro,--,umask=3D0,user,iocharset=3Diso8859-15,cod= epage=3D850,suid=20 0 0 none /mnt/cdrom2 supermount=20 dev=3D/dev/hdh,fs=3Dauto,ro,exec,--,rw,umask=3D0022,user,iocharset=3Diso885= 9-15,codepage=3D850,suid=20 0 0 HTH Anne Thx Anne, seems to do the trick. -- RickS Registered Linux user #338463 Mdk 10.1 OE - Linux 2.6.8.1-12mdk@ http://counter.li.org gpg --recv-keys --keyserver www.keyserver.net 0x24AABE61 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] FSTab
Thank you very much for the explanation... Cheers, Elwyn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] FSTab
On Monday 18 Oct 2004 16:04, SME Server Admin wrote: //sentinel/Primary /mnt/Primary smbfs user,credentials=/etc/samba/auth.sentinel.admin 0 0 I've removed that and it's taken that icon off the desktop... But not sure about the others so have left them... Elwyn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] FSTab
well lets see, On Monday 18 Oct 2004 4:04 pm, SME Server Admin wrote: Can someone tell me of the following entries which are not needed. you definitely need this: /dev/hda1 / ext3 defaults 1 1 i strongly suspect you need the following, its for pseudo terminals, none /dev/pts devpts mode=0620 0 0 odds are you want a home partition, thats where your stuff is: /dev/hda6 /home ext3 defaults 1 2 you can remove this if you don't want to access the smb share //sentinel/Primary /mnt/Primary smbfs user,credentials=/etc/samba/auth.sentinel.admin 0 0 this is your cd drive /dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0 and this is your swap, which you should have /dev/hda5 swap swap defaults 0 0 bascule -- I used to think that *I* was stupid, and then I met philosophers. (Small Gods) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] fstab file
On Saturday 12 June 2004 11:15 am, OOzy wrote: -If I make changes to fstab. How can I reload it or there is no need for -this? Fast answer, as root do a mount -a. That should do the trick. -- /\ Dark Lord \/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] FStab lines in M9.1
On Friday 26 March 2004 14:58, Miark wrote: I used the k3b setup twice, and it'll _never_ happen again. It made an awful mess both times. I don't mess with fstab regularly, but I'd change the hds back to cdrom and cdrom2, and then do a supermount -i enable to turn on supermount and include the change in fstab (the -i switch). Miark On Fri, 26 Mar 2004 12:57:39 +, John wrote: Something has inserted three extra lines in my current fstab:- Could they be what k3b's setup wizzard created ? Anyone got any Ideas ? John This was a major embarrassment with 9.0 and 9.1. By default k3b edited fstab, only there was in fact a way to avoid that : somewhere in the setup process one could untick a checkbox, not allowing it to do so. It almost drove me crazy until Derek pointed me in the right direction. Until then I used XCDroast, which has a horrible user interface. Funny thing is, from 9.2 and now 10.x this bad behaviour seems to be history. Now k3b installs cleanly and functions well (at least on my old clunker here). Actually the were some people here, including myself, suggesting that any programmer who made alterations to fstab should be taken out and shot. On the other hand, if you aren't as lazy as I am, why not use the Tom Brinkman method : the command line ? A few days ago he posted a recipe for almost all needs, like burning .iso's, DVD's, data, music and so on. Just check the archive. Kaj Haulrich. -- * Sent from a 100 % Microsoft-free computer * * running Linux kernel 2.6.4 on Mandrake 10.0 * Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] fstab and lilo
On Sun, 11 Jan 2004 09:56:45 + John Richard Smith [EMAIL PROTECTED] wrote: Lee Wiggers wrote: I have my fstab and lilo pretty much fouled up. Would someone who has a working cdrw and dvd please post theirs so I can figure out where I overused my delete key? Lee This is mine, where, DVD = IDEmaster= /dev/scd0 = /mnt/cdrom Writer= IDEslave = /dev/scd1 = /mnt/cdrom2 under scsi-emulation lilo.conf includes, hdc=ide-scsi hdd=ide-scsi in the append line /dev/scd0 /mnt/cdrom auto user,iocharset=iso8859-15,umask=0,exec,codepage=850,ro,noauto 0 0 /dev/scd1 /mnt/cdrom2 auto user,iocharset=iso8859-15,umask=0,exec,codepage=850,ro,noauto 0 0 with added k3b support , /dev/scsi/host1/bus0/target0/lun0/cd /mnt/cdrom autoro,noauto,user,exec 0 0 /dev/scsi/host1/bus0/target1/lun0/cd /mnt/cdrom2 autoro,noauto,user,exec 0 0 and whare no scsi-emulation, #none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,user,--,iocharset=iso8859-15,codepage=85 0,umask=0 0 0#none /mnt/cdrom2 supermount dev=/dev/scd1,fs=auto,rw,user,--,iocharset=iso8859-15,codepage=85 0,umask=0 0 0 John -- John Richard Smith [EMAIL PROTECTED] Thanks John (and all others). I'll digest this when I get home this evening and get the burner working. Lee Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab and lilo
On Sunday 11 January 2004 08:14, Lee Wiggers wrote: I have my fstab and lilo pretty much fouled up. Would someone who has a working cdrw and dvd please post theirs so I can figure out where I overused my delete key? Lee * Hi Lee, Depending what editor you where using there may be a backup. Ok here is mine as attachment May try this and see if mandrake will not do it for you.. Pop in cd1 and reboot.. go through the motions of a upgrade but check along the line that all settings as should be. I have done this a few times and where able to recover. But the best remedy is to make a backup before editing :). -- Johan May this be a good day for learning Registered Linux User #330034 - still learning /dev/hde9 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hde10 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/hdb,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 none /mnt/cdrom2 supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,iocharset=iso8859-1,umask=0,sync,codepage=850 0 0 /dev/hde1 /mnt/win_c vfat iocharset=iso8859-1,users,umask=0,codepage=850 0 0 /dev/hdg1 /mnt/win_c2 ntfs iocharset=iso8859-1,ro,users,,umask=0 0 0 /dev/hdg5 /mnt/win_d vfat iocharset=iso8859-1,users,umask=0,codepage=850 0 0 /dev/hdg6 /mnt/win_e vfat iocharset=iso8859-1,users,umask=0,codepage=850 0 0 /dev/hdg7 /mnt/win_f vfat iocharset=iso8859-1,users,umask=0,codepage=850 0 0 none /proc proc defaults 0 0 /dev/hde11 swap swap defaults 0 0 /dev/hdg8 /mnt/backup ext3 rw,users,exec,auto,suid 0 0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab and lilo
Lee Wiggers wrote: I have my fstab and lilo pretty much fouled up. Would someone who has a working cdrw and dvd please post theirs so I can figure out where I overused my delete key? Lee This is mine, where, DVD = IDEmaster= /dev/scd0 = /mnt/cdrom Writer= IDEslave = /dev/scd1 = /mnt/cdrom2 under scsi-emulation lilo.conf includes, hdc=ide-scsi hdd=ide-scsi in the append line /dev/scd0 /mnt/cdrom auto user,iocharset=iso8859-15,umask=0,exec,codepage=850,ro,noauto 0 0 /dev/scd1 /mnt/cdrom2 auto user,iocharset=iso8859-15,umask=0,exec,codepage=850,ro,noauto 0 0 with added k3b support , /dev/scsi/host1/bus0/target0/lun0/cd/mnt/cdrom autoro,noauto,user,exec 0 0 /dev/scsi/host1/bus0/target1/lun0/cd/mnt/cdrom2 autoro,noauto,user,exec 0 0 and whare no scsi-emulation, #none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,user,--,iocharset=iso8859-15,codepage=850,umask=0 0 0 #none /mnt/cdrom2 supermount dev=/dev/scd1,fs=auto,rw,user,--,iocharset=iso8859-15,codepage=850,umask=0 0 0 John -- John Richard Smith [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab and lilo
On Sun, 11 Jan 2004 01:14:48 -0500 Lee Wiggers [EMAIL PROTECTED] wrote: I have my fstab and lilo pretty much fouled up. Would someone who has a working cdrw and dvd please post theirs so I can figure out where I overused my delete key? Lee for your burner you should have none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1 0 0 if it is the master or else it will say cdrom2 you dvd should be the same and have /dev/hdc i think or /dev/cdrom -- jason pearl [EMAIL PROTECTED] ++ Keep your friends close and your enemies closer-Tupac ++ Kurrupted Visionz Phx, AZregistered linux user #307811 MDK 9.2 LinuxMachine# 193475, 227341 AMD64 Opteron 1.6http://counter.li.org ASUS SK8N 23:33:06 up 2:15, 2 users, load average: 0.01, 0.00, 0.03 pgp0.pgp Description: PGP signature
Re: [newbie] fstab digits 0 1 2
On Sunday 14 Dec 2003 7:48 pm, Johan wrote: Hi, Please inform me what the last two digits mean in an fstab entry. I have read it somewhere through the years and don't seem to be able to find it again. Thanks man fstab look for the fifth and sixth fields. In short, the fifth field indicates if the filesystem is to be backed up by the dump command. The sixth dictates the order it is to be checked by fsck. The root should be 1, all others 2, except those that don't need to be checked, which should be 0. -- Richard Urwin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab digits 0 1 2
On Sun, 14 Dec 2003 21:48:46 +0200 Johan [EMAIL PROTECTED] wrote: Hi, Please inform me what the last two digits mean in an fstab entry. I have read it somewhere through the years and don't seem to be able to find it again. Thanks from tuxfiles.org: The 5th column in /etc/fstab is the dump option. Dump checks it and uses the number to decide if a filesystem should be backed up. If it's zero, dump will ignore that filesystem. If you take a look at the example fstab, you'll notice that the 5th column is zero in most cases. The 6th column is a fsck option. fsck looks at the number in the 6th column to determine in which order the filesystems should be checked. If it's zero, fsck won't check the filesystem. HTH -- _||_ Registered linux user #300600 (o_ Registered linux machine # 185855 //\at V_/_ http://counter.li.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab, windows folders and permissions
are they really spaces in the umask? and have you tried without? bascule On Monday 04 Aug 2003 1:59 pm, The Other wrote: 08/04/03 I have uid=501 and umask=0 2 2 for windows folders in fstab. though I get owner as 501 user, permissions are there as 777 instead of 755 as dictated by umask. How to go about getting permissions as 755 for windows folders. Try ..,user,umask=0,auto,... with umask=0 I think permissions will be 777. Am I correct? -- 'What ho, b'zugda-hiara.' (Footnote: A killing insult in Dwarfish. It means 'Lawn ornament'.) (Wyrd Sisters) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab, windows folders and permissions
- Original Message - From: L.V.Gandhi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 02, 2003 10:11 Subject: Re: [newbie] fstab, windows folders and permissions On Friday 01 Aug 2003 7:23 am, Sharrea wrote: On Thu, 31 Jul 2003 02:02, L.V.Gandhi wrote: I have uid=501 and umask=0 2 2 for windows folders in fstab. though I get owner as 501 user, permissions are there as 777 instead of 755 as dictated by umask. How to go about getting permissions as 755 for windows folders. Try ..,user,umask=0,auto,... with umask=0 I think permissions will be 777. Am I correct? yes. i believe what you want is umask=022, instead of umask=0 2 2. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab, windows folders and permissions
On Monday 04 Aug 2003 6:29 pm, The Other wrote: 08/04/03 I have uid=501 and umask=0 2 2 for windows folders in fstab. though I get owner as 501 user, permissions are there as 777 instead of 755 as dictated by umask. How to go about getting permissions as 755 for windows folders. Try ..,user,umask=0,auto,... with umask=0 I think permissions will be 777. Am I correct? You might want to look at: www.informatik.uni-freiburg.de/~mader/FSTAB-Tuning.html I went through the site. I can get using umask 0007 and gid or uid the desired results in windows folders not shared with using samba. But if I have a folder say /a/b and if b is shared and given all permissions, then a is not retaining the permissions given by umask of fstab -- L.V.Gandhi 203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017 MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab, windows folders and permissions
08/04/03 I have uid=501 and umask=0 2 2 for windows folders in fstab. though I get owner as 501 user, permissions are there as 777 instead of 755 as dictated by umask. How to go about getting permissions as 755 for windows folders. Try ..,user,umask=0,auto,... with umask=0 I think permissions will be 777. Am I correct? You might want to look at: www.informatik.uni-freiburg.de/~mader/FSTAB-Tuning.html May help. The Other Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab, windows folders and permissions
On Sat, 02 Aug 2003 14:11, L.V.Gandhi wrote: On Friday 01 Aug 2003 7:23 am, Sharrea wrote: On Thu, 31 Jul 2003 02:02, L.V.Gandhi wrote: I have uid=501 and umask=0 2 2 for windows folders in fstab. though I get owner as 501 user, permissions are there as 777 instead of 755 as dictated by umask. How to go about getting permissions as 755 for windows folders. Try ..,user,umask=0,auto,... with umask=0 I think permissions will be 777. Am I correct? Oops, sorry 'bout that. You are correct, that would indeed make permissions 777. In which case I can't help with achieving 755 but hopefully someone else knows... Anyone? Sharrea -- Help Microsoft stamp out piracy - give Linux to a friend today Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] FSTAB mistake
Thanks to all who replied on and off the list. Unfortunately, I encountered additional problems and decided to reinstall LM 8.0 as that appeared to work better with my hardware Frank McKenna True strength lies in gentleness Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab (long post)
Frank McKenna wrote: Hi All, In two previous posts I submitted the following. I only saw the first appear so I am resending both messages as one. Sorry for the long post I decided to put an old Creative DVD 2 X in a Mandrake 8.1 box along with a 32 X CD-ROM. Unfortunately, only the DVD (I think) is mounted although both the DVD and CD-ROM show up in Hardrake When I run kdc the DVD shows up as the block D device but it Hardrake it is a block C device. ( I hope that this is correct because I was using a friend's DSL connection to do massive updates) Anyway, if it isn't I hope at least this conveys the idea. I installed autofs to see if this would resolve the proble but to no avail. Civileme suggested that I forward my fstab and get rid of autofs Here is my fstab: /dev/hda1 / ext1 defaults 1 1 none /dev/pts devpts mode=0620 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hdd /mnt/cd rom auto auto user,isocharset=iso8859-1,umask=0,sync,exec,codepage=850,ro,n oauto 0 0 /dev/fd0 /mnt/floppy auto user,isocharset=iso8859-1,umask=0,sync,exec,codepage=85 0,noauto 0 0 none /proc proc defaults 0 0 /dev/hda5 swap swap defaults 0 0 How would I lose autofs? Thanks Frank McKenna Your've got typo's in your fstab entry , /dev/hdd , try, /dev/hdd /mnt/cdrom auto user,iocharset=iso8859-15,umask=0, exec,codepage=850,ro,noauto 0 0 no gap between cd rom. and I don't have auto auto user. then, rightmouseclick desktop cdrom icon - properties - Device , check your Device and Mount point entries. reboot John -- John Richard Smith [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab problem
AFAIK: NTFS support is not turned on in the default configuration. It's still buggy, and dangerous. If you really want it, you'll have to build a kernel with it enabled. Best advice: Don't go there. JMHO-YMMV Ric On Tue, 2002-02-05 at 18:51, Greg Smith wrote: I have successfully configured the fstab file to mount the vfat partitions that are elswhere on the hard drive, but I can't get the ntfs partition to mount at boot. Below are the lines I am using in fstab to mount the partitions on boot. The vfat partitions mount automatically, but the ntfs partition won't. I have double-checked and the mount points are correct as I can mount the ntfs partition manually after boot up using these options. /dev/hda1 /Win98 vfat umask=0,quiet 0 0 /dev/hda6 /Dnld vfat umask=0,quiet 0 0 /dev/hda5 /Win2K ntfs umask=0,quiet 0 0 Anybody got an idea? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com -- Ric Tibbetts Linux registration number: 55684 If you want to help advertise Linux - point your friends to http://counter.li.org/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab problem
I have successfully configured the fstab file to mount the vfat partitions that are elswhere on the hard drive, but I can't get the ntfs partition to mount at boot. I think my one mounts at boot. All I need to do is type in the file name with the (long ) path and i am there. Below is my fstab Walter ~~~ 431 root@psybernet:/ (02:32:20) # more /etc/fstab /dev/hda5 / ext3 noatime 1 1 none /dev/pts devpts mode=0620 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda7 /home ext3 noatime 1 2 /dev/scd0 /mnt/cdrom auto user,iocharset=iso8859-1,umask=0,exec,codepage=850,ro,noauto 0 0 /dev/fd0 /mnt/floppy auto user,iocharset=iso8859-1,umask=0,sync,exec,codepage=850,noauto 0 0 /dev/hda2 /mnt/windows ntfs user,uid=501,gid=501,iocharset=iso8859-1 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 432 root@psybernet:/ (02:32:27) # Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] fstab and /mnt/windows
I got it mounted using fstab which is what I wanted. However using the following: /dev/hde1 /mnt/windows ntfs user,exec,umask=0 0 0 it is browsable but read only... Am I missing something to make it writeable?? Ed ~~ At 09:26 PM Friday, 5/18/2001, Dave Sherman wrote -= Yep. Dave On Friday 18 May 2001 20:12, thus spake Ed Kasky: If it's an ntfs formatted partition do I use ntfs in place of vfat? Ed At 01:20 PM Friday, 5/18/2001, Dave Sherman wrote -= Try this: /dev/hde1/mnt/windows vfatuser,exec,umask=0 0 0 It should give you full read/write access. Dave -- Nihil tam munitum quod non expugnari pecuna possit. - Marcus Tullius Cicero, 106-43 B.C. Ed Kasky Los Angeles, CA . . . . . . . . If it weren't for the last minute, nothing would ever get done.
Re: [newbie] fstab and /mnt/windows
My best suggestion is to 'man fstab', and see what it tells you. I'm not sure if there is anything special about mounting ntfs partitions, but I suspect there might be, because of the permissions used in ntfs which are similar to ext2 in linux. Good luck, Dave On Saturday 19 May 2001 01:37, thus spake Ed Kasky: I got it mounted using fstab which is what I wanted. However using the following: /dev/hde1 /mnt/windows ntfs user,exec,umask=0 0 0 it is browsable but read only... Am I missing something to make it writeable?? Ed ~~ -- Nihil tam munitum quod non expugnari pecuna possit. - Marcus Tullius Cicero, 106-43 B.C.
Re: [newbie] fstab and /mnt/windows
Try this: /dev/hde1/mnt/windows vfatuser,exec,umask=0 0 0 It should give you full read/write access. Dave On Friday 18 May 2001 10:33, thus spake Ed Kasky: What would be the proper entry in /etc/fstab to automatically mount my windoze partition from hde? I would like to at least have read access to be able to access files. Is this correct? /dev/hde1/mnt/windows ext2defaults 1 2 Thanks in advance Ed ~~ Ed Kasky Los Angeles, CA .. . . . . . . . In order to form an immaculate member of a flock of sheep one must, above all, be a sheep. -Albert Einstein (1879-1955) -- Nihil tam munitum quod non expugnari pecuna possit. - Marcus Tullius Cicero, 106-43 B.C.
Re: [newbie] fstab and /mnt/windows
On Fri, 18 May 2001, you wrote: What would be the proper entry in /etc/fstab to automatically mount my windoze partition from hde? I would like to at least have read access to be able to access files. Is this correct? /dev/hde1/mnt/windows ext2defaults 1 2 I think you'll find vfat works better than ext2 for windows partitions ;) And be sure you have created the directory /mnt/windows before you add this line to fstab. Regards, Irv
Re: [newbie] fstab and /mnt/windows
If it's an ntfs formatted partition do I use ntfs in place of vfat? Ed At 01:20 PM Friday, 5/18/2001, Dave Sherman wrote -= Try this: /dev/hde1/mnt/windows vfatuser,exec,umask=0 0 0 It should give you full read/write access. Dave On Friday 18 May 2001 10:33, thus spake Ed Kasky: What would be the proper entry in /etc/fstab to automatically mount my windoze partition from hde? I would like to at least have read access to be able to access files. Is this correct? /dev/hde1/mnt/windows ext2defaults 1 2 Thanks in advance Ed ~~ Ed Kasky Los Angeles, CA .. . . . . . . . In order to form an immaculate member of a flock of sheep one must, above all, be a sheep. -Albert Einstein (1879-1955) -- Nihil tam munitum quod non expugnari pecuna possit. - Marcus Tullius Cicero, 106-43 B.C. Ed Kasky Los Angeles, CA . . . . . . . . Never stop. One stops as soon as something is about to happen. - Peter Brock
Re: [newbie] fstab vs mtab
Sam wrote: Hi, I was looking through the files in /etc and realised that /etc/fstab and /etc/mtab have very similar contents. Could anybody enlighten me on what're the differences between these files, e.g. in terms of function? Thanks. fstab lists predefined filesystems which can be mounted on your system, mstab basically contains the same information but only for filesystems that are currently mounted on your system. If a filesystem is listed in fstab, you can execute mount with only the mount point (or is it only the device, or can it be either), and the filesystem will be mounted with the parameters specified in fstab. The boot process also uses fstab for the same purpose (AFAIK). Hope this helps, Randy Kramer
Re: [newbie] fstab vs mtab
hi. i know the answer to this one=) fstab is the file which tells linux which partitions to mount, where to mount them, and how to mount them during boot. this is where you make changes to the mounting procedure. mtab is what actually is mounted, how where it is mounted. *DO NOT* edit this file. you can look at it, do not edit. i have never tried editing it, but i understand it is a bad bad thing. hope that clears the mud for ya. Adrian Smith 'de telepone dude Telecom Dept. x 7042 [EMAIL PROTECTED] Sam [EMAIL PROTECTED] 7:31:04 AM 5/9/01 Hi, I was looking through the files in /etc and realised that /etc/fstab and /etc/mtab have very similar contents. Could anybody enlighten me on what're the differences between these files, e.g. in terms of function? Thanks.
Re: [newbie] fstab vs mtab
Wow! Am very overwhelmed by the replies! Thanks guys! :)) On Thursday 10 May 2001 11:38, David E. Fox wrote: /etc/fstab is a boot time file that the system uses to mount your partitions and /etc/mtab is a run-time file showing what's currently mounted. Thus, if you unmount some partition, /etc/mtab will reflect the change, but /etc/fstab will not.
Re: [newbie] fstab
On Sun, 19 Nov 2000, skidley wrote: Ok my fstab ended up majorly screwed somehow and i don't know why. I had to enable supermount again, but the options for the cdrom drive and burner are screwed up, i have like nosuid, noexec, noauto, etc. It worked excellent before on the standard way it was setup after install. Please help me get my settings back to normal. I know there was rw in both now they are ro, also the floppy is screwed too. My fstab: /dev/hda5 / ext2 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda8 /home ext2 defaults 1 2 /mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0 /mnt/plextor /mnt/plextor supermount fs=iso9660,dev=/dev/cdrom2 0 0 /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 /dev/hda1 /mnt/windows vfat user,exec,umask=0 0 0 none /proc proc defaults 0 0 /dev/hda7 /usr ext2 defaults 1 2 /dev/hda6 swap swap defaults 0 0 /dev/hdb1 /big ext2 defaults 1 2 Hope this helps Paul -- A stranger is a friend we do not know yet. http://nlpagan.net - ICQ 147208 - Registered Linux User 174403 Linux Mandrake 7.2 - Pine 4.30
Re: [newbie] fstab mtab left overs...
you did what? - Original Message - From: Adrian Smith To: [EMAIL PROTECTED] Sent: Wednesday, October 04, 2000 3:44 PM Subject: [newbie] fstab mtab left overs... okie, here is what i did.in /mnt i had the usual win_cwin_dtype things.i went into fstab changed things about (did this using KDE graphical interface) so that the drives would mount aswindoze (win_c)games (win_d)so, that worked.if i go into /mnt then go into /windoze then i am on my win98 C: drive.the odd thing is, the win_cwin_dare still in /mnt also. if i go into them, they are empty.what up with this?? can i simply delete these as root? or is there some other solution?second part of thisi can read from my fat32 drives, but i can not write to some of them.i checked in fstab mtab. all my fat32 drives are mounted with the "rw" option, so this should put them in read-write mode, yes??thanks muchAdrian Smith'de telepone dudeTelecom Dept.x 7042[EMAIL PROTECTED]
Re: [newbie] fstab mtab left overs...
On Wed, 04 Oct 2000, you wrote: okie, here is what i did. in /mnt i had the usual win_c win_d type things. i went into fstab changed things about (did this using KDE graphical interface) so that the drives would mount as windoze (win_c) games (win_d) so, that worked. if i go into /mnt then go into /windoze then i am on my win98 C: drive. the odd thing is, the win_c win_d are still in /mnt also. if i go into them, they are empty. what up with this?? can i simply delete these as root? or is there some other solution? Yes, delete them, you're not using them anymore second part of this i can read from my fat32 drives, but i can not write to some of them. i checked in fstab mtab. all my fat32 drives are mounted with the "rw" option, so this should put them in read-write mode, yes?? Here's 'fstab' line for my Windoze drive. I moved it out of '/mnt/', to a dir named '/c'. I can read/write/exe anything on that fat 32 partition (13.6 gig) as user. /dev/hda1 /c vfat user,exec,umask=0 0 0 I've seen several different 'fstab' lines for r/w/x a Windoze drive, but this is the lien that has always worked for me. It's also the way 7.x versions of Mandrake have installed. *Do Not* mess with 'mtab' ! Similar to your setup, I had a storage partition for .jpg's, formatted fat32 so either OS could use them. I used to mount it as '/d'. Fat32 wouldn't let me put more than ~18,000 files in one dir tho. When I installed 7.2b3 a few days ago, I changed the format for this partion to ext2, and named it '/stor' rather than '/d'. It now has ~23,000 .jpg's in it ;) -- Tom Brinkman[EMAIL PROTECTED] Galveston Bay
Re: [newbie] fstab mtab left overs...
I use ReiserFS for data storage. Some directories have over 100,000 files in them. ext2 worked but a directory listing took about a month to generate. Also on my new server everything but /boot is ReiserFS and the stability due to crashes, power loss, etc is great and everything runs very quickly. *^*^*^* Was it a dream where you see yourself standing in sort of sungod robes on a pyramid with a thousand naked women screaming and throwing little pickles at you? -- Real Genius On Wed, 4 Oct 2000, Tom Brinkman wrote: On Wed, 04 Oct 2000, you wrote: okie, here is what i did. in /mnt i had the usual win_c win_d type things. i went into fstab changed things about (did this using KDE graphical interface) so that the drives would mount as windoze (win_c) games (win_d) so, that worked. if i go into /mnt then go into /windoze then i am on my win98 C: drive. the odd thing is, the win_c win_d are still in /mnt also. if i go into them, they are empty. what up with this?? can i simply delete these as root? or is there some other solution? Yes, delete them, you're not using them anymore second part of this i can read from my fat32 drives, but i can not write to some of them. i checked in fstab mtab. all my fat32 drives are mounted with the "rw" option, so this should put them in read-write mode, yes?? Here's 'fstab' line for my Windoze drive. I moved it out of '/mnt/', to a dir named '/c'. I can read/write/exe anything on that fat 32 partition (13.6 gig) as user. /dev/hda1 /c vfat user,exec,umask=0 0 0 I've seen several different 'fstab' lines for r/w/x a Windoze drive, but this is the lien that has always worked for me. It's also the way 7.x versions of Mandrake have installed. *Do Not* mess with 'mtab' ! Similar to your setup, I had a storage partition for .jpg's, formatted fat32 so either OS could use them. I used to mount it as '/d'. Fat32 wouldn't let me put more than ~18,000 files in one dir tho. When I installed 7.2b3 a few days ago, I changed the format for this partion to ext2, and named it '/stor' rather than '/d'. It now has ~23,000 .jpg's in it ;) -- Tom Brinkman[EMAIL PROTECTED] Galveston Bay
Re: [newbie] fstab mtab left overs...
the odd thing is, the win_c win_d are still in /mnt also. if i go into them, they are empty. what up with this?? can i simply delete these as root? or is there some other solution? Yes, and this demonstrates a problem with configuration via GUI tools; you are one step removed from knowing what has occurred. When you set up "windoze" as a mount point, not only was fstab modified but a "mkdir /mnt/windoze" command was issued. You see, without an existing directory to serve as a mount point, the code within fstab will simply generate an error. so yes, you should be able to delete the win_c and win_d directories. second part of this i can read from my fat32 drives, but i can not write to some of them. As a user you probably don't have write permission. This is the default on such partitions as a protection. You can change that of course. i checked in fstab mtab. all my fat32 drives are mounted with the "rw" option, so this should put them in read-write mode, yes?? Huh? and how did you determine this. You wouldn't see "rw" anywhere. If fstab carries a umask=0,0,0 or something similar then it's unclear why you can't write to your DOS drive but your questions don't suggest that you understand the process sufficiently to have interpreted that syntax if it were there. Sorry if my conclusions are incorrect. Cheers --- Larry
Re: [newbie] fstab mtab left overs...
Here's 'fstab' line for my Windoze drive. I moved it out of '/mnt/', to a dir named '/c'. I can read/write/exe anything on that Not a bad idea Tom. I just did: ln -s /mnt/windows win with the link in my home directory. Seems to work. Any reason not to do it that way? One of the reasons I did it was that if I want to do something like make a backup image of my root file system I can just do a umount -a and then do the backup without picking up the DOS partitions. Opnions? /dev/hda1 /c vfat user,exec,umask=0 0 0 I've seen several different 'fstab' lines for r/w/x a Windoze drive, but this is the lien that has always worked for me. It's also the way Ah...I've never seen any r/w/x syntax in any fstab I've worked. Like you, umask is what does it. It also seems to be what Linux does...at least it has on my systems :-) them. I used to mount it as '/d'. Fat32 wouldn't let me put more than ~18,000 files in one dir tho. When I installed 7.2b3 a few That's interesting. One of those "gotchas". Thanks for the info. Cheers --- Larry
Re: [newbie] fstab mtab left overs...
Adrian Smith wrote: okie, here is what i did. in /mnt i had the usual win_c win_d type things. i went into fstab changed things about (did this using KDE graphical interface) so that the drives would mount as windoze (win_c) games (win_d) so, that worked. if i go into /mnt then go into /windoze then i am on my win98 C: drive. the odd thing is, the win_c win_d are still in /mnt also. if i go into them, they are empty. what up with this?? can i simply delete these as root? or is there some other solution? Adrianyes just delete them from /mnt if you want them no longer. second part of this i can read from my fat32 drives, but i can not write to some of them. i checked in fstab mtab. all my fat32 drives are mounted with the "rw" option, so this should put them in read-write mode, yes?? [snip] Stay away from the /etc/mtab file, it's dynamically written to by the os and doesn't take kindly to folks messing around in it. You probably need to add 'user' and 'umask=0' to the options field in the vfat lines of your /etc/fstab file. Alan
Re: [newbie] fstab
- Original Message - From: Bert Bullough [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, August 06, 1999 12:17 PM Subject: [newbie] fstab Can someone give me an example of their fstab entry ( preferably one with an entry for mounting a windows partition) so that i can see what i am doing wrong. Thanks.
Re: [newbie] fstab
fstab: (assuming your Windows 95 partition is /dev/hda2:) /dev/hda2 /mnt/win95 vfatdefaults0 0 I'm pretty sure that's what I have set up on my Linux box. I'm booted into Windows right now or I'd double check. Essentially, all you need to do is replace 'vfat' with the filesystem you want it to use (vfat, umsdos, msdos, etc)exist as an empty directory and is where your Win95 partition will be mounted. Good luck. --- Ian W. Douglas, Wild Web Services [EMAIL PROTECTED] ICQ UIN: 506679
RE: [newbie] fstab
1st, create a directory to mount to - I use /mnt/dos1. Then create and entry like : /dev/hda1 /mnt/dos1 default msdos default 0 0 Then when rebooting the partition at hda1 will be mounted and available at /mnt/dos1. You could also test it by entering "mount /dev/hda1" (or whatever the device is). It should map it using the info from fstab. If running fat32 you may need to use vfat as a type instead of msdos. A SCSI drive would be prefixed as SD, i.e. /dev/sda1. Note: The third letter of a device is the drive location, the number is the partition number. A=1st drive, 1=1st partition. -Original Message- From: Bert Bullough [mailto:[EMAIL PROTECTED]] Sent: Friday, August 06, 1999 12:18 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [newbie] fstab Can someone give me an example of their fstab entry ( preferably one with an entry for mounting a windows partition) so that i can see what i am doing wrong. Thanks.
Re: [newbie] fstab
Mine looks likes this. Win95 was installed on the first partition of hda and linux on the second partion (hda5) Hope it helps: /dev/hda5 /ext2defaults1 1 /dev/hda6 /homeext2defaults1 2 /dev/hda7 /usr ext2defaults1 2 /dev/hda8 swap swapdefaults0 0 /dev/hda1 /win95 vfatdefaults0 0 /dev/fd0/mnt/floppy auto sync,user,noauto,nosuid,nodev,unhide 0 0 /dev/cdrom /mnt/cdrom auto user,noauto,nosuid,exec,nodev,ro 0 0 none/procprocdefaults0 0 none/dev/pts devpts mode=0622 0 0 ___ Sign up today for your Free E-mail at http://www.canoe.ca/CanoeMail
Re: [newbie] fstab
- Original Message - From: Ian W Douglas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 06, 1999 1:26 PM Subject: Re: [newbie] fstab fstab: (assuming your Windows 95 partition is /dev/hda2:) /dev/hda2 /mnt/win95 vfat defaults 0 0 snip What does 'defaults 0 0' do? I have always seen it as 'defaults 1 2', and that is what I use. Manny Styles [EMAIL PROTECTED] --- NetZero - We believe in a FREE Internet. Shouldn't you? Get your FREE Internet Access and Email at http://www.netzero.net/download/index.html
Re: [newbie] fstab
On Fri, 06 Aug 1999, Bert Bullough wrote: Can someone give me an example of their fstab entry ( preferably one with an entry for mounting a windows partition) so that i can see what i am doing wrong. Thanks. Here you go. /dev/hda5 / ext2defaults1 1 /dev/hda6 swap swapdefaults0 0 /dev/fd0/mnt/floppy autonoauto,user,nosuid 0 0 /dev/cdrom/mnt/cdrom iso9660 noauto,user,ro0 0 /dev/hda1 /mnt/dosvfatdefaults0 0 /dev/hdb5/disk2 ext2 defaults 1 1 /dev/hdb6 /mnt/d vfat defaults 0 0 none/proc proc defaults0 0 none /dev/ptsdevpts mode=0622 0 0
Re: Re: [newbie] fstab
This is a snippet taken from the fstab man page. I believe it should answer your question: "The sixth field, (fs_passno), is used by the fsck(8) pro- gram to determine the order in which filesystem checks are done at reboot time. The root filesystem should be speci- fied with a fs_passno of 1, and other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. If the sixth field is not pre- sent or zero, a value of zero is returned and fsck will assume that the filesystem does not need to be checked." ___ Sign up today for your Free E-mail at http://www.canoe.ca/CanoeMail
Re: Re: [newbie] fstab
Sorry! That last reply was only about the two numbers after "defaults". I'm not sure exactly what the defaults are but I know that you can specify how you want the device to be mounted. For example the line for my floppy drive is this: /dev/fd0/mnt/floppy auto sync,user,noauto,nosuid,nodev,unhide 0 0 Notice instead of "defaults" it says, "sync,user,noauto,nosuid,nodev, unhide". You can read the "mount" man page for information on what these mean. Hope this helps. ___ Sign up today for your Free E-mail at http://www.canoe.ca/CanoeMail
Re: [newbie] fstab
On Fri, 06 Aug 1999, you wrote: Can someone give me an example of their fstab entry ( preferably one with an entry for mounting a windows partition) so that i can see what i am doing wrong. Thanks. /dev/hda8 /mnt/data vfat exec,dev,suid,rw 1 1 The line above mounts a partition on my first drive. I have Windows NT/98 on hda and Mandrake on hdb. Gator
Re: [newbie] fstab
Bert Bullough wrote: Can someone give me an example of their fstab entry ( preferably one with an entry for mounting a windows partition) so that i can see what i am doing wrong. Thanks. Bert, These work for me: /dev/hda2 /mnt/dosc vfat rw,gid=100,umask=2 0 0 /dev/hda5 /mnt/dosd vfat rw,gid=100,umask=2 0 0 /dev/hdb5 /mnt/dosf vfat rw,gid=100,umask=2 0 0 where hda is for the first hard drive and hdb is for the second. RW is for read/write, gid=100 is for ability to use from the group ID of 100 of which I added my user id. To know for sure what the hdxx numbers are you can run fdisk and see them. /sbin/cfdisk /dev/hda or /sbin/cfdisk /dev/hdb etc. All of the above needs to be done as su or root. Then you should add with the mkdir command a folder for dosc, dosd, etc. Here's how: mkdir /mnt/dosc mkdir /mnt/dosd Brian