[newbie] fstab mtab left overs...

2000-10-04 Thread Adrian Smith

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?

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??

thanks much


Adrian Smith
'de telepone dude
Telecom Dept.
x 7042
[EMAIL PROTECTED]






Re: [newbie] fstab mtab left overs...

2000-10-04 Thread Fraser Kendall



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...

2000-10-04 Thread Tom Brinkman

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...

2000-10-04 Thread Michael

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...

2000-10-04 Thread Larry Marshall


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...

2000-10-04 Thread Larry Marshall


  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...

2000-10-04 Thread Alan Shoemaker

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