Current-Users archive

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

Re: -current tar(1) breakage



On Wed, 31 Mar 2021, Christos Zoulas wrote:

What is the NFS server? Because on NetBSD it returns 255...


$ uname -a
NetBSD x202e.localdomain 9.99.81 NetBSD 9.99.81 (GENERIC) #0: Sat Mar 27 02:58:39 UTC 2021  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

It doesn't happen usually. I was only able to reproduce Hauke's SEGV
by mounting an ext2 FS on /mnt; exporting /mnt via NFS as /altroot;
then unmounting and remounting /mnt:

$ sudo mount -r -t ext2fs /dev/dk11 /mnt
$ sudo mount -r -t nfs localhost:/mnt /altroot
$ mount
/dev/dk9 on / type ffs (log, noatime, local)
kernfs on /kern type kernfs (local)
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)
tmpfs on /var/shm type tmpfs (local)
tmpfs on /tmp type tmpfs (local)
/dev/dk11 on /mnt type ext2fs (read-only, local)
localhost:/mnt on /altroot type nfs (read-only)
$ /tmp/a.out /altroot/work/dmesg.txt
a.out: /altroot/work/dmesg.txt: statvfs failed: Permission denied
$ sudo pkill -HUP mountd
$ /tmp/a.out /altroot/work/dmesg.txt
svfs.f_frsize: 512
svfs.f_iosize: 32768
svfs.f_bsize: 512
svfs.f_namemax: 0
$

-RVP


Home | Main Index | Thread Index | Old Index