NetBSD-Bugs archive

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

bin/44114: makefs(8) -t cd9660 -o rockridge creates corrupted cd9660fs



>Number:         44114
>Category:       bin
>Synopsis:       makefs(8) -t cd9660 -o rockridge creates corrupted cd9660fs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 18 15:35:00 +0000 2010
>Originator:     Izumi Tsutsui
>Release:        NetBSD 5.99.39
>Organization:
>Environment:
System: NetBSD/i386 5.99.39
Architecture: i386
Machine: i386
>Description:
makefs(8) -t cd9660 -o rockridge against directories with deep structure
creates corrupted cd9660 image.

>How-To-Repeat:

% mkdir makefs
% mkdir makefs/1
% mkdir makefs/1/2
% mkdir makefs/1/2/3
% mkdir makefs/1/2/3/4
% mkdir makefs/1/2/3/4/5
% mkdir makefs/1/2/3/4/5/6
% mkdir makefs/1/2/3/4/5/6/7
% mkdir makefs/1/2/3/4/5/6/7/8
% mkdir makefs/1/2/3/4/5/6/7/8-1
% makefs -t cd9660 -o rockridge test.iso makefs
% su
# vnconfig vnd0 test.iso
# mount -t cd9660 /dev/vnd0a /mnt
# ls -lR /mnt/1
total 2
drwxr-xr-x  3 tsutsui  wheel  2048 Nov 19 00:16 2

/mnt/1/2:
total 2
drwxr-xr-x  3 tsutsui  wheel  2048 Nov 19 00:16 3

/mnt/1/2/3:
total 2
drwxr-xr-x  3 tsutsui  wheel  2048 Nov 19 00:16 4

/mnt/1/2/3/4:
total 2
drwxr-xr-x  3 tsutsui  wheel  2048 Nov 19 00:16 5

/mnt/1/2/3/4/5:
total 2
drwxr-xr-x  3 tsutsui  wheel  2048 Nov 19 00:16 6

/mnt/1/2/3/4/5/6:
total 2
drwxr-xr-x  4 tsutsui  wheel  2048 Nov 19 00:16 7

/mnt/1/2/3/4/5/6/7:
total 4
drwxr-xr-x  2 tsutsui  wheel  2048 Nov 19 00:15 8
drwxr-xr-x  2 tsutsui  wheel  2048 Nov 19 00:15 8-1

/mnt/1/2/3/4/5/6/7/8:

/mnt/1/2/3/4/5/6/7/8-1:
ls: fts_read: No such file or directory
# ls -lR /mnt/.rr_moved/
total 2
drwxr-xr-x  4 tsutsui  wheel  2048 Nov 19 00:16 8

/mnt/.rr_moved/8:
ls: fts_read: No such file or directory
# 
---

- kernel also complains "RRIP without PX field?"
- "-o allow-deep-trees" doesn't help.

>Fix:
No idea. Check .rr_moved function?



Home | Main Index | Thread Index | Old Index