[Bug 273211] release/amd64/make-memstick.sh creates run-away processes

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 18 Aug 2023 18:10:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273211

            Bug ID: 273211
           Summary: release/amd64/make-memstick.sh creates run-away
                    processes
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: guru@unixarea.de

$ uname -a                                                                      
FreeBSD jet 14.0-CURRENT FreeBSD 14.0-CURRENT amd64 1400094 #0
main-n264568-1d7ffb373c9d: 
Sat Aug  5 17:22:47 CEST 2023    
guru@jet:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 

The image is never created and temp. disk space is growing:


root@jet:/usr/src/release/amd64 # ./make-memstick.sh /home/guru/140.root
~guru/memstick.img
Calculated size of `/home/guru/memstick.img.part': 23795073024 bytes, 263113
inodes
Extent size set to 32768
/home/guru/memstick.img.part: 22692.8MB (46474752 sectors) block size 32768,
fragment size 4096
        using 27 cylinder groups of 869.44MB, 27822 blks, 10240 inodes.
super-block backups (for fsck -b #) at:
      192,  1780800,  3561408,  5342016,  7122624,  8903232, 10683840,
 12464448, 14245056, 16025664, 17806272, 19586880, 21367488, 23148096,
 24928704, 26709312, 28489920, 30270528, 32051136, 33831744, 35612352,
 37392960, 39173568, 40954176, 42734784, 44515392, 46296000
Populating `/home/guru/memstick.img.part'
Image `/home/guru/memstick.img.part' complete
Creating `/tmp/efiboot.iFachZ'
/tmp/efiboot.iFachZ: 65528 sectors in 65528 FAT32 clusters (512 bytes/cluster)
BytesPerSec=512 SecPerClust=1 ResSectors=32 FATs=2 Media=0xf0 SecPerTrack=63
Heads=255 HiddenSecs=0 HugeSectors=66584 FATsecs=512 RootCluster=2 FSInfo=1
Backup=2
Populating `/tmp/efiboot.iFachZ'
Image `/tmp/efiboot.iFachZ' complete


root@jet:/usr/home/guru # ls -ltrah /tmp | tail -6
drwx------   2 guru wheel  512B Aug 18 15:43 tmux-1001
-rw-------   1 root wheel   33M Aug 18 17:18 efiboot.iFachZ
-rw-------   1 root wheel    0B Aug 18 17:18 mkimg-4eMWKW
drwxrwxrwt  21 root wheel  1.0K Aug 18 17:18 .
drwxr-xr-x  22 root wheel  1.0K Aug 18 17:43 ..
-rw-------   1 root wheel  850G Aug 18 17:53 mkimg-oGNnFb

root@jet:/usr/home/guru # ls -ltrh mem*
-rw-r--r--  1 root wheel   22G Aug 18 17:18 memstick.img.part
-rw-r--r--  1 root wheel    0B Aug 18 17:18 memstick.img

-- 
You are receiving this mail because:
You are the assignee for the bug.