You are not logged in.
Pages: 1
Hi,
I'm loving arch so far, but have run into a few issues that I'm confused about.
The strangest is that all of my ext3 partitions are being reported as ramfs by stat. Everything seems to be working fine, except that I have files that chown doesn't seem to work on (unrelated?). Any insight would be appreciated.
Chown issue:
As root, I chown -R a particular directory. If I look through the directory as root, everything looks fine (listed as owned by a non-root user). If I look at that directory logged in as that user, I get a lot of cannot access/permission denied errors, and ?????? where the permissions should be listed.
Ramfs/Ext3 issue:
--------------------------------------------------------------------------------
# df -h
System Size Used Avail Use% Mounted on
/dev/sda3 35G 5.3G 28G 16% /
/dev/sda4 1.1G 567M 483M 55% /home
/dev/sda1 38M 8.8M 28M 25% /boot
--------------------------------------------------------------------------------
# mount
/dev/sda3 on / type ext3 (rw)
/dev/sda4 on /home type ext3 (rw)
/dev/sda1 on /boot type ext2 (rw)
--------------------------------------------------------------------------------
# for f in `mount |grep ^\/dev|cut -d ' ' -f 1`;do stat -f -c %T $f;done
ramfs
ramfs
ramfs
--------------------------------------------------------------------------------
// From /var/log/messages
Dec 8 10:16:21 groucho EXT3 FS on sda3, internal journal
Dec 8 10:16:21 groucho EXT3 FS on sda4, internal journal
Dec 8 10:16:21 groucho EXT3-fs: mounted filesystem with ordered data mode.
--------------------------------------------------------------------------------
Offline
No idea about your permission issues. Logs?
I also get "ramfs" with stat. But seriously, stat? Use blkid.
1000
Offline
i can confirm on my system as well. partitions that are ext3 are reported as ramfs through the the "stat" command only. mount, df, dmesg, gparted, etc all say ext3.
nothing i could find in "man stat" made me think that it should show anything other than filesystem type with the '-f -c %T' options.
i'd be curious what's going on.
//github/
Offline
Thanks for the responses.
Which brings me to: shouldn't stat be as trustworthy as blkid? stat is more portable, and more likely to be installed on different systems. I'm not arguing, I'm just wondering why the info provided by blkid is better. Because it's part of e2fsprogs and more 'tuned' to ext?
Offline
Pages: 1