msdosfs exit status, failures: chmod, touch

grarpamp grarpamp at gmail.com
Tue Jun 22 21:41:39 UTC 2010


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 .


More information about the freebsd-hackers mailing list