bonjour,
un conseil SVP:
ma config:
jb1@alpha30:/etc$ uname -a
Linux alpha30 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
jb1@alpha30:/etc$
topologie actuelle des partitions:
jb1@alpha30:/etc$ pg fstab
# /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>
/dev/mapper/alpha30-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=762e4fb9-3400-4e07-a687-b3bc3db83169 /boot ext2 defaults 0 2
/dev/mapper/alpha30-home /home ext4 defaults 0 2
/dev/mapper/alpha30-tmp /tmp ext4 defaults 0 2
/dev/mapper/alpha30-usr /usr ext4 defaults 0 2
/dev/mapper/alpha30-var /var ext4 defaults 0 2
/dev/mapper/alpha30-swap_1 none swap sw 0 0
/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
jb1@alpha30:/etc$ df -k
Sys. fich. 1K-blocks Util. Disponible Uti% Monté sur
rootfs 329233 195933 116302 63% /
udev 10240 0 10240 0% /dev
tmpfs 599620 752 598868 1% /run
/dev/mapper/alpha30-root 329233 195933 116302 63% /
tmpfs 5120 0 5120 0% /run/lockjb1@alpha30:/etc$ pg fstab
# /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>
/dev/mapper/alpha30-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=762e4fb9-3400-4e07-a687-b3bc3db83169 /boot ext2 defaults 0 2
/dev/mapper/alpha30-home /home ext4 defaults 0 2
/dev/mapper/alpha30-tmp /tmp ext4 defaults 0 2
/dev/mapper/alpha30-usr /usr ext4 defaults 0 2
/dev/mapper/alpha30-var /var ext4 defaults 0 2
/dev/mapper/alpha30-swap_1 none swap sw 0 0
/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
jb1@alpha30:/etc$ df -k
Sys. fich. 1K-blocks Util. Disponible Uti% Monté sur
rootfs 329233 195933 116302 63% /
udev 10240 0 10240 0% /dev
tmpfs 599620 752 598868 1% /run
/dev/mapper/alpha30-root 329233 195933 116302 63% /
tmpfs 5120 0 5120 0% /run/lock
tmpfs 1199220 80 1199140 1% /run/shm
/dev/sdb1 233191 18014 202736 9% /boot
/dev/mapper/alpha30-home 98195084 1519800 91687176 2% /home
/dev/mapper/alpha30-tmp 376807 10275 347076 3% /tmp
/dev/mapper/alpha30-usr 8647944 5004620 3204028 61% /usr
/dev/mapper/alpha30-var 2882592 915024 1821136 34% /var
tmpfs 1199220 80 1199140 1% /run/shm
/dev/sdb1 233191 18014 202736 9% /boot
/dev/mapper/alpha30-home 98195084 1519800 91687176 2% /home
/dev/mapper/alpha30-tmp 376807 10275 347076 3% /tmp
/dev/mapper/alpha30-usr 8647944 5004620 3204028 61% /usr
/dev/mapper/alpha30-var 2882592 915024 1821136 34% /var
donc je voudrais permuter / var à la place de /home
modifier les 2 points de montage dans /etc/fstab est-ce suffisant?
ceci pour éviter de réinstaller
à vous lire
A+
JB1