[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mount, noatime option



> On Fri, 27 Jun 1997, joost witteveen wrote:
> 
> > > Hi,
> > > kernel 2.0.30 supports the 'noatime' option for a filesystem, right?
> > 
> > If compiled with that option, yes. Did you answer "yes" to
> > that question? (I don't think (though I'm not sure) the default
> > debian kernel has it compiled in).
> 
> I've got kernel-source 2.0.30-7 installed.
> I don't get any questions related to this when I go 'make menuconfig'.
> What options should be selected?

OK, I'm not really absolutely totally sure it was in 2.0.30 already.
I've got my own 2.0.31-pre2 installed (a pre-release of 2.0.31),
and that one gives me the options:

Second extended fs support (CONFIG_EXT2_FS) [Y/m/n/?] Y
   NO_ATIME support for ext2 filesystems (CONFIG_EXT2_NOATIME) [N/y/?] N

I'm not sure where you can get pre2, but at least it seems available
from ftp://ftp.cistron.nl/pub/os/linux/kernel/v2.0/pre-patch-2.0.31-2.gz,
and probably from any good ftp site near you.

> > > (inode's access time is not updated after reads).
> > > mount_2.6d-1.deb doesn't seem to recognize this option (moount -o
> > > noatime), or what is the right option.
> > 
> > Does appear to be the correct option (man mount).
> 
> What is the mount package you are using?

2.6g-1, sorry for forgetting to mention that.


> I've got mount 2.6d-1 installed:
> 	# mount -o noatime /dev/sdc1 /mnt
> 	mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
> 	       or too many mounted file systems

mount -o noatime -t ext2 /dev/sd /mnt
mount: special device /dev/sd does not exist

Mind you, I'm not going to mess with my system, so I didnt' try to
use an real devices like /dev/hda1. (/dev/sd doesn't exist at all
on my system, so the test is rather bogus).

> 	(mount /dev/sdc1 /mnt is ok.)
> Neither does the man page of mount know of option noatime.
> And the binary doesn't seem to contain the word:
> 	# strings /bin/mount | grep -i time 
> 	timed out
> 	timeo
> 	actimeo
> 
Same here.

$ strings /bin/mount | grep -i time 
timed out
timeo
actimeo

So, it must be something mount hands to the kernel.

-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: