Date: Thu, 27 Apr 2000 18:05:22 -0400 (EDT) From: Barrett Richardson <barrett@aye.net> To: freebsd-hackers@freebsd.org Subject: immutable flag strangeness Message-ID: <Pine.BSF.4.01.10004271736150.545-100000@phoenix.aye.net>
next in thread | raw e-mail | index | archive | help
I have attached a file to /dev/vn0 and built a file system on it.
I have set the "system immutable" flag because I want to store
some sensitive stuff on it.
# ls -lo /home/afile
-rw-r--r-- 1 root wheel schg 16777216 Apr 27 17:36 /home/afile
#
But... if I mount it
vnconfig -c /dev/vn0 /home/afile
mount /dev/vn0c /mnt
And create a file on it...
cd /mnt
ps -agx > afile
It creates a file and the time stamp on the file updates
# ls -lo /home/afile
-rw-r--r-- 1 root wheel schg 16777216 Apr 27 17:40 /home/afile
#
schg flag broken on 3.3?
I've tried to test it on 3.4 but have been unable to get the disk
label edited.
-
Barrett Richardson (my name)
barrett@aye.net (my email address)
main(){} (my program)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.10004271736150.545-100000>
