If you have more than one swap partition existing during OS installation, then they are all included in your fstab, and mounted thereafter by the OS. Case in point (see fstab below): At the moment, I have two HDs in this computer, and each HD happens to have a swap partition. Both swaps are currently mounted by the OS I am using. Yes, I suppose I could delete one of them from fstab, but I never bothered.
Code:
dmn@Roxae:~$ cat /etc/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> # / was on /dev/sda10 during installation UUID=bd26c257-2b33-4482-a0ad-f5eb3760f5da / ext4 errors=remount-ro 0 1 # swap was on /dev/sda6 during installation UUID=fcfec85c-fb97-47b6-aaf3-8b5c0db6a168 none swap sw 0 0 # swap was on /dev/sdb5 during installation UUID=0b8757d1-652f-4c31-94fb-02cf00afd7e8 none swap sw 0 0 # Label=Common-Files /sdv/sdb11 UUID=c3121154-ee33-418b-8c43-10377841e3c2 /mnt/Common-Files ext4 defaults 0 1
برچسب:
نویسنده: استخدام کار