Hallo,
verwendet von Euch schon jemand Label für Partitionen in der /etc/fstab?
Wie lautet denn dann die Syntax in der fstab?
Ich möchte nämlich beim nächsten Clientupdate von LMN6.1 auf LMN6.2 updaten und dabei gleich 1. die Partitionen mit Labeln versehen und 2. eine Partition für EFI generieren, falls ich das demnächst evtl. einsetzen müsste (noch habe ich nur Bios-Clients).
Momentan sieht die fstab ohne Label bei mir noch so aus:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
/dev/sda1 / ext4 errors=remount-ro 0 0
/dev/sda2 none swap sw 0 0
/dev/sda3 /var/virtual ext4 defaults 0 0
/dev/sda6 /var/localuserdata ext4 defaults 0 0
Die Partitionen auf dem Client:
edv-p01oii ~ # fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 Köpfe, 63 Sektoren/Spur, 14593 Zylinder, zusammen 234441648 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Festplattenidentifikation: 0xb2627014
Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 2048 52430847 26214400 83 Linux
/dev/sda2 52430848 60819455 4194304 82 Linux Swap / Solaris
/dev/sda3 60819456 106956799 23068672 83 Linux
/dev/sda4 106958847 234441647 63741400+ 5 Erweiterte
/dev/sda5 106958848 207622142 50331647+ 83 Linux
/dev/sda6 207622144 228593662 10485759+ 83 Linux
Gruß
Stefan