Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2010 16:13:16 -0400
From:      grarpamp <grarpamp@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   msdosfs exit status, failures: chmod, touch
Message-ID:  <AANLkTilwmbGP9k919o5MlJjzZRyLT6g1QwvnvM5Rsgq6@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
This exit should not be 0, regardless of msdosfs or not.
Same for if the '.' dir entries do in fact have B/M/A/C times,
operations on those entries should update those times
accordingly, as subdirs do. RELENG_8. Thanks.

# newfs_msdos /dev/fd0
/dev/fd0: 2829 sectors in 2829 FAT12 clusters (512 bytes/cluster)
BytesPerSec=512 SecPerClust=1 ResSectors=1 FATs=2 RootDirEnts=512
Sectors=2880 Media=0xf0 FATsecs=9 SecPerTrack=18 Heads=2 HiddenSecs=0
# mount_msdosfs /dev/fd0 /mnt
# ls -alt /mnt
total 18
drwxr-xr-x  22 root  wheel    512 Jun  8 17:00 ..
drwxr-xr-x   1 root  wheel  16384 Dec 31  1979 .
# chmod 1777 /mnt ; echo $?
0
# touch /mnt ; echo $?
0
# ls -alt /mnt
total 18
drwxr-xr-x  22 root  wheel    512 Jun  8 17:00 ..
drwxr-xr-x   1 root  wheel  16384 Dec 31  1979 .



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTilwmbGP9k919o5MlJjzZRyLT6g1QwvnvM5Rsgq6>