[root@fedora ttt]# uname -a
Linux fedora 5.16.18-200.fc35.x86_64 #1 SMP PREEMPT Mon Mar 28 14:10:07
UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[root@fedora ttt]# LC_MESSAGES=C mc -V
GNU Midnight Commander 4.8.27
Built with GLib 2.69.0
Built with S-Lang 2.3.2 with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With internationalization support
With multiple codepages support
With ext2fs attributes support
Virtual File Systems:
cpiofs, tarfs, sfs, extfs, ftpfs, fish, smbfs
Data types:
char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
Using tar :
[root@fedora ttt]# tar --version
tar (GNU tar) 1.34
How to reproduce the issue :
1. Pack the /dev into a tarball:
tar -cf test.tar /dev
2. From mc panel, select the test.tar and press F3. The internal viewer
correctly shows the major and minor numbers for the devices.
3. Exit the viewer. Press Enter, inspect the tarball content. All the
device numbers are zeros.
The test.tar can be untarred by tar - all the numbers will be correct.
But if you open the tarball in mc with Enter and copy the content to
another panel - the extracted dev nodes will have the numbers zeroed.
--
Ticket URL: <http://www.midnight-commander.org/ticket/4367>
Midnight Commander <https://midnight-commander.org>
Midnight Development Center
* component: mc-core => mc-vfs
Comment:
Cannot confirm. mc-4.8.28 works fine.
--
Ticket URL: <http://www.midnight-commander.org/ticket/4367#comment:1>
Old description:
New description:
--
--
Ticket URL: <http://www.midnight-commander.org/ticket/4367#comment:2>
* status: new => closed
* resolution: => worksforme
* milestone: Future Releases =>
--
Ticket URL: <http://www.midnight-commander.org/ticket/4367#comment:3>