setup Linuxulator, add fstab
This commit is contained in:
parent
68c63c90fc
commit
56b285dd84
2 changed files with 27 additions and 0 deletions
3
debian.sh
Executable file
3
debian.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
chroot /compat/debian /bin/bash
|
||||
24
fstab
Normal file
24
fstab
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Device Mountpoint FStype Options Dump Pass#
|
||||
# virtual
|
||||
fdescfs /dev/fd fdescfs rw 0 0
|
||||
proc /proc procfs rw 0 0
|
||||
|
||||
# physical
|
||||
/dev/gpt/efiboot0 /boot/efi msdosfs rw 2 2
|
||||
/dev/ada0p2 none swap sw 0 0
|
||||
|
||||
# Linuxulator
|
||||
# Debian
|
||||
devfs /compat/debian/dev devfs rw,late 0 0
|
||||
tmpfs /compat/debian/dev/shm tmpfs rw,late,size=1g,mode=1777 0 0
|
||||
fdescfs /compat/debian/dev/fd fdescfs rw,late,linrdlnk 0 0
|
||||
linprocfs /compat/debian/proc linprocfs rw,late 0 0
|
||||
linsysfs /compat/debian/sys linsysfs rw,late 0 0
|
||||
/tmp /compat/debian/tmp nullfs rw,late 0 0
|
||||
/home /compat/debian/home nullfs rw,late 0 0
|
||||
|
||||
# exports
|
||||
/home/mykola /export/mykola nullfs rw,late 0 0
|
||||
|
||||
# network
|
||||
192.168.100.4:/ /nfs nfs nfsv4,rw 0 0
|
||||
Loading…
Add table
Reference in a new issue