-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Package: e2fsprogs
Version: 1.43.4-2
Architecture: amd64

mkfs.ext4 incorrectly reports the "last mounted" location.  In the 
details below, /home/backups was last mounted 2 days ago.  The
correct last mount was /mnt at "Thu May 30 03:03:42 2019"


~$ fdisk -l
Disk /dev/vda: 400 GiB, 429496729600 bytes, 838860800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000dcb5c

Device     Boot     Start       End   Sectors  Size Id Type
/dev/vda1  *         2048 417330815 417328768  199G 83 Linux
/dev/vda2       417331200 450885631  33554432   16G 83 Linux
/dev/vda3       450885632 838860799 387975168  185G 83 Linux


~$ mount /dev/vda3 /mnt/

~$ ll /mnt/
total 20
drwx------  2 root root 16384 Apr 13 13:59 lost+found

~$ umount /mnt

~$ mkfs.ext4 /dev/vda3         
mke2fs 1.43.4 (31-Jan-2017)
/dev/vda3 contains a ext4 file system
        last mounted on /home/backups on Thu May 30 03:03:42 2019
Proceed anyway? (y,N) y
Creating filesystem with 48496640 4k blocks and 12147840 inodes
Filesystem UUID: be199742-4354-4586-9b25-3bceaa67f64a
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done

~$ date
Thu May 30 03:04:37 UTC 2019



-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECPbAhaBWEfiXj/kxdRlcPb헹ᐔॳ봼�⠤䇔数
fkXK6A/9E0/5eqIl9qwJrHoAFmSYcCJeVPSuWiOucqy54Rx鴳捳铺䄆
Xl6UXdxdZqhy2UMZxgqmqjHo1ugR㎴礵勄ꂛ遑虄糴ꄢ�䳬際ﯦ䠿
eVWJHbDLabd4Yj/bGCXv/N8iCh庅漫ꥐ㹊㎓ᮜꑥ䄺聢悈ꯊ뢢
EIu6QAXAHmbSYYd2CNVdPq㣣鸤Გ�眺큜㕕䏟䗚ꢈ⊋阎㉀Ⰶ
OTl6IV2lZKNcGhM56tIb87zRFrqSJarJ4/iMEB4yXcHirnI/DZMmVK7WBDqk3eD6
pfsIW8Jtyfi4dR㶫Ṩ�㙇Â懶녠ᓧ幂꼋捱귡ꊥា츈귵版
JT5JearagpY4m0IVmmv2w24ol3GosqX9cALHMMkYhfrKbXLRCWKtPpshOBB0qaPd
A9EiXv�䶧曤텍踄浇랬奂诋�ﺩ妛�᾵౬屈Ӏ኿脿
0zv֢媵ࠤ⻷ⳕ旧�〿䠊딻︉ꏑ⫃蛨㳣響毬�偒씟
FHKNnQJxNkJDo3x3EEj8HGTJtk9DOIHlXoVWk6NTLrnoz0tn3vb5zgDbCQMn35KX
kUrWmSOhz/3mXSzwktI6UbRTymSFL3ON0Y丬愃홺똏♬=
=f9PR
-----END PGP SIGNATURE-----

Reply via email to