Odp: Nowe partycje na dysku USB i problemy
najnormalniej w świecie możesz zrobic linka z /mnt/sda2/tmp do /tmp
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Nowe partycje na dysku USB i problemy
Strony Poprzednia 1 2
Zaloguj się lub zarejestruj by napisać odpowiedź
najnormalniej w świecie możesz zrobic linka z /mnt/sda2/tmp do /tmp
W jaki sposob? Mozesz podrzucic namiar na tutoriala?
Na wszystko tutorial chcecie
,
ln -s /mnt/sda2/tmp /tmp
O ile wcześniej usuniesz /tmp. Ew.
mount --bind /mnt/sda2/tmp /tmp
Proba usuniecia konczy sie komunikatem, ze jest uzywany (busy). Przypominam, ze mam teraz extroota. Co z tym zrobic?
Bo chodzą procesy które korzystają z /tmp. Albo druga metoda, albo stopujesz wszystko, robisz linka, albo przerabiasz sobie skrypty u robisz linka gdzieś na początku systemu zanim sie wszystko uruchomi.
A jesli zrobie odrebna partycje, powiedzmy z 10GB na /tmp? Czy moge podpiac ja w fstab jak kazdy inny dysk?
Tak, działało tak swego czasu jak sprawdzałem.
Jeszcze jedno pytanko: Jesli chce wpisac w fstab, ze /dev/sda3 ma byc montowane w /tmp, to powinienem zrobic to w trybie extroot, czy podstawowym?
Zrobilem to w extroot.
# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda1 on /overlay type ext3 (rw,noatime,errors=continue,data=writeback)
mini_fo:/overlay on / type mini_fo (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sda3 on /tmp type ext3 (rw,sync,relatime,errors=continue,data=writeback)
/dev/sda4 on /mnt/hdd type ext3 (rw,noatime,errors=continue,data=writeback)
none on /proc/bus/usb type usbfs (rw,relatime)Niby ok prawda? Tylko dlaczego nie mam internetu?
# logread
Jan 1 01:00:32 Gargoyle user.info kernel: SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Jan 1 01:00:32 Gargoyle user.info kernel: Hierarchical RCU implementation.
Jan 1 01:00:32 Gargoyle user.info kernel: NR_IRQS:56
Jan 1 01:00:32 Gargoyle user.info kernel: Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Jan 1 01:00:32 Gargoyle user.warn kernel: Mount-cache hash table entries: 512
Jan 1 01:00:32 Gargoyle user.info kernel: NET: Registered protocol family 16
Jan 1 01:00:32 Gargoyle user.notice kernel: MIPS: machine is TP-LINK TL-WR1043ND
Jan 1 01:00:32 Gargoyle user.warn kernel: bio: create slab <bio-0> at 0
Jan 1 01:00:32 Gargoyle user.info kernel: Switching to clocksource MIPS
Jan 1 01:00:32 Gargoyle user.info kernel: NET: Registered protocol family 2
Jan 1 01:00:32 Gargoyle user.info kernel: IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan 1 01:00:32 Gargoyle user.info kernel: TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Jan 1 01:00:32 Gargoyle user.info kernel: TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Jan 1 01:00:32 Gargoyle user.info kernel: TCP: Hash tables configured (established 1024 bind 1024)
Jan 1 01:00:32 Gargoyle user.info kernel: TCP reno registered
Jan 1 01:00:32 Gargoyle user.info kernel: NET: Registered protocol family 1
Jan 1 01:00:32 Gargoyle user.info kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Jan 1 01:00:32 Gargoyle user.warn kernel: Registering mini_fo version $Id$
Jan 1 01:00:32 Gargoyle user.info kernel: JFFS2 version 2.2. (NAND) (SUMMARY) Š 2001-2006 Red Hat, Inc.
Jan 1 01:00:32 Gargoyle user.warn kernel: yaffs Jan 15 2011 16:34:46 Installing.
Jan 1 01:00:32 Gargoyle user.info kernel: msgmni has been set to 57
Jan 1 01:00:32 Gargoyle user.info kernel: io scheduler noop registered
Jan 1 01:00:32 Gargoyle user.info kernel: io scheduler deadline registered (default)
Jan 1 01:00:32 Gargoyle user.info kernel: Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
Jan 1 01:00:32 Gargoyle user.info kernel: serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
Jan 1 01:00:32 Gargoyle user.info kernel: console [ttyS0] enabled, bootconsole disabled
Jan 1 01:00:32 Gargoyle user.info kernel: Atheros AR71xx SPI Controller driver version 0.2.4
Jan 1 01:00:32 Gargoyle user.info kernel: m25p80 spi0.0: s25sl064a (8192 Kbytes)
Jan 1 01:00:32 Gargoyle user.debug kernel: usb-storage: device found at 2
Jan 1 01:00:32 Gargoyle user.debug kernel: usb-storage: waiting for device to settle before scanning
Jan 1 01:00:32 Gargoyle user.notice kernel: scsi 0:0:0:0: Direct-Access Samsung S2 Portable PQ: 0 ANSI: 2 CCS
Jan 1 01:00:32 Gargoyle user.notice kernel: sd 0:0:0:0: [sda] 625131864 1024-byte logical blocks: (640 GB/596 GiB)
Jan 1 01:00:32 Gargoyle user.notice kernel: sd 0:0:0:0: [sda] Write Protect is off
Jan 1 01:00:32 Gargoyle user.debug kernel: sd 0:0:0:0: [sda] Mode Sense: 3c 00 00 00
Jan 1 01:00:32 Gargoyle user.err kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan 1 01:00:32 Gargoyle user.debug kernel: usb-storage: device scan complete
Jan 1 01:00:32 Gargoyle user.notice kernel: sd 0:0:0:0: [sda] 625131864 1024-byte logical blocks: (640 GB/596 GiB)
Jan 1 01:00:32 Gargoyle user.err kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan 1 01:00:32 Gargoyle user.info kernel: sda: sda1 sda2 sda3 sda4
Jan 1 01:00:32 Gargoyle user.notice kernel: sd 0:0:0:0: [sda] 625131864 1024-byte logical blocks: (640 GB/596 GiB)
Jan 1 01:00:32 Gargoyle user.err kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan 1 01:00:32 Gargoyle user.notice kernel: sd 0:0:0:0: [sda] Attached SCSI disk
Jan 1 01:00:32 Gargoyle user.info kernel: kjournald starting. Commit interval 5 seconds
Jan 1 01:00:32 Gargoyle user.info kernel: EXT3 FS on sda1, internal journal
Jan 1 01:00:32 Gargoyle user.info kernel: EXT3-fs: recovery complete.
Jan 1 01:00:32 Gargoyle user.info kernel: EXT3-fs: mounted filesystem with writeback data mode.
Jan 1 01:00:32 Gargoyle user.info kernel: mini_fo: using base directory: /
Jan 1 01:00:32 Gargoyle user.info kernel: mini_fo: using storage directory: /overlay
Jan 1 01:00:32 Gargoyle user.info kernel: eth0: link down
Jan 1 01:00:33 Gargoyle user.debug kernel: ar71xx: pll_reg 0xb8050014: 0x1a000000
Jan 1 01:00:33 Gargoyle user.info kernel: eth0: link up (1000Mbps/Full duplex)
Jan 1 01:00:34 Gargoyle user.info kernel: device eth0.1 entered promiscuous mode
Jan 1 01:00:34 Gargoyle user.info kernel: device eth0 entered promiscuous mode
Jan 1 01:00:34 Gargoyle user.info kernel: br-lan: port 1(eth0.1) entering forwarding state
Jan 1 01:00:35 Gargoyle user.info kernel: Compat-wireless backport release: compat-wireless-2011-01-06-3-g8db1608
Jan 1 01:00:35 Gargoyle user.info kernel: Backport based on wireless-testing.git master-2011-01-21-2
Jan 1 01:00:35 Gargoyle user.info sysinit: Error 1 looking up hostname 0.pl.pool.ntp.org
Jan 1 01:00:35 Gargoyle user.info sysinit: Error 1 looking up hostname 1.pl.pool.ntp.org
Jan 1 01:00:35 Gargoyle user.info sysinit: Error 1 looking up hostname 2.pl.pool.ntp.org
Jan 1 01:00:35 Gargoyle user.info kernel: cfg80211: Calling CRDA to update world regulatory domain
Jan 1 01:00:39 Gargoyle user.info kernel: cfg80211: World regulatory domain updated:
Jan 1 01:00:39 Gargoyle user.info kernel: cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan 1 01:00:39 Gargoyle user.info kernel: cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 1 01:00:39 Gargoyle user.info kernel: cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jan 1 01:00:39 Gargoyle user.info kernel: cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jan 1 01:00:39 Gargoyle user.info kernel: cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 1 01:00:39 Gargoyle user.info kernel: cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 1 01:00:40 Gargoyle user.debug kernel: ath: EEPROM regdomain: 0x0
Jan 1 01:00:40 Gargoyle user.debug kernel: ath: EEPROM indicates default country code should be used
Jan 1 01:00:40 Gargoyle user.debug kernel: ath: doing EEPROM country->regdmn map search
Jan 1 01:00:40 Gargoyle user.debug kernel: ath: country maps to regdmn code: 0x3a
Jan 1 01:00:40 Gargoyle user.debug kernel: ath: Country alpha2 being used: US
Jan 1 01:00:40 Gargoyle user.debug kernel: ath: Regpair used: 0x3a
Jan 1 01:00:40 Gargoyle user.debug kernel: ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Jan 1 01:00:40 Gargoyle user.info kernel: ieee80211 phy0: Atheros AR9100 MAC/BB Rev:0 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
Jan 1 01:00:40 Gargoyle user.info kernel: cfg80211: Calling CRDA for country: US
Jan 1 01:00:41 Gargoyle user.info kernel: RPC: Registered udp transport module.
Jan 1 01:00:41 Gargoyle user.info kernel: RPC: Registered tcp transport module.
Jan 1 01:00:41 Gargoyle user.info kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
Jan 1 01:00:42 Gargoyle user.info kernel: PPP generic driver version 2.4.2
Jan 1 01:00:42 Gargoyle user.info kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jan 1 01:00:43 Gargoyle user.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Jan 1 01:00:43 Gargoyle user.info kernel: cfg80211: Regulatory domain changed to country: US
Jan 1 01:00:43 Gargoyle user.info kernel: cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan 1 01:00:43 Gargoyle user.info kernel: cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Jan 1 01:00:43 Gargoyle user.info kernel: cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Jan 1 01:00:43 Gargoyle user.info kernel: cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 1 01:00:43 Gargoyle user.info kernel: cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 1 01:00:43 Gargoyle user.info kernel: cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 1 01:00:43 Gargoyle user.info kernel: cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Jan 1 01:00:43 Gargoyle user.info kernel: NET: Registered protocol family 24
Jan 1 01:00:44 Gargoyle user.warn kernel: nf_conntrack version 0.5.0 (460 buckets, 1840 max)
Jan 1 01:00:44 Gargoyle user.warn kernel: CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
Jan 1 01:00:44 Gargoyle user.warn kernel: nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
Jan 1 01:00:44 Gargoyle user.warn kernel: sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Jan 1 01:00:45 Gargoyle user.info kernel: xt_time: kernel timezone is -0000
Jan 1 01:00:45 Gargoyle user.info kernel: Hooked IMQ after mangle on PREROUTING
Jan 1 01:00:45 Gargoyle user.info kernel: Hooked IMQ after nat on POSTROUTING
Jan 1 01:00:45 Gargoyle user.info kernel: IMQ driver loaded successfully.
Jan 1 01:00:45 Gargoyle user.info kernel: Ebtables v2.0 registered
Jan 1 01:00:46 Gargoyle user.info kernel: usbcore: registered new interface driver usbserial
Jan 1 01:00:46 Gargoyle user.info kernel: USB Serial support registered for generic
Jan 1 01:00:46 Gargoyle user.info kernel: usbcore: registered new interface driver usbserial_generic
Jan 1 01:00:46 Gargoyle user.info kernel: usbserial: USB Serial Driver core
Jan 1 01:00:46 Gargoyle user.info kernel: usbcore: registered new interface driver ums-alauda
Jan 1 01:00:46 Gargoyle user.info kernel: usbcore: registered new interface driver ums-cypress
Jan 1 01:00:46 Gargoyle user.info kernel: usbcore: registered new interface driver ums-datafab
Jan 1 01:00:46 Gargoyle user.info kernel: usbcore: registered new interface driver ums-freecom
Jan 1 01:00:47 Gargoyle user.info kernel: usbcore: registered new interface driver ums-isd200
Jan 1 01:00:47 Gargoyle user.info kernel: usbcore: registered new interface driver ums-jumpshot
Jan 1 01:00:47 Gargoyle user.info kernel: usbcore: registered new interface driver ums-karma
Jan 1 01:00:47 Gargoyle user.info kernel: usbcore: registered new interface driver ums-sddr09
Jan 1 01:00:47 Gargoyle user.info kernel: usbcore: registered new interface driver ums-sddr55
Jan 1 01:00:47 Gargoyle user.info kernel: usbcore: registered new interface driver ums-usbat
Jan 1 01:00:47 Gargoyle user.info kernel: USB Serial support registered for GSM modem (1-port)
Jan 1 01:00:47 Gargoyle user.info kernel: usbcore: registered new interface driver option
Jan 1 01:00:47 Gargoyle user.info kernel: option: v0.7.2:USB Driver for GSM modems
Jan 1 01:00:47 Gargoyle user.info kernel: USB Serial support registered for Sierra USB modem
Jan 1 01:00:47 Gargoyle user.info kernel: usbcore: registered new interface driver sierra
Jan 1 01:00:47 Gargoyle user.info kernel: sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
Jan 1 01:00:47 Gargoyle user.info kernel: fuse init (API version 7.13)
Jan 1 01:00:49 Gargoyle user.info kernel: Adding 208836k swap on /dev/sda2. Priority:-1 extents:1 across:208836k
Jan 1 01:00:50 Gargoyle user.info kernel: kjournald starting. Commit interval 5 seconds
Jan 1 01:00:50 Gargoyle user.info kernel: EXT3 FS on sda3, internal journal
Jan 1 01:00:50 Gargoyle user.info kernel: EXT3-fs: recovery complete.
Jan 1 01:00:50 Gargoyle user.info kernel: EXT3-fs: mounted filesystem with writeback data mode.
Jan 1 01:00:50 Gargoyle user.info kernel: kjournald starting. Commit interval 5 seconds
Jan 1 01:00:50 Gargoyle user.info kernel: EXT3 FS on sda4, internal journal
Jan 1 01:00:50 Gargoyle user.info kernel: EXT3-fs: recovery complete.
Jan 1 01:00:50 Gargoyle user.info kernel: EXT3-fs: mounted filesystem with writeback data mode.
Jan 1 01:00:52 Gargoyle user.info sysinit: 'radio0' is disabled
Jan 1 01:00:53 Gargoyle user.info sysinit: 'radio0' is disabled
Jan 1 01:00:54 Gargoyle user.info sysinit: Error 1 looking up hostname 0.pl.pool.ntp.org
Jan 1 01:00:54 Gargoyle user.info sysinit: Error 1 looking up hostname 1.pl.pool.ntp.org
Jan 1 01:00:54 Gargoyle user.info sysinit: Error 1 looking up hostname 2.pl.pool.ntp.org
Jan 1 01:00:54 Gargoyle user.info sysinit: Loading defaults
Jan 1 01:00:55 Gargoyle user.info sysinit: Loading synflood protection
Jan 1 01:00:55 Gargoyle user.info sysinit: Adding custom chains
Jan 1 01:00:55 Gargoyle user.info sysinit: Loading zones
Jan 1 01:00:56 Gargoyle user.info sysinit: Loading forwarding
Jan 1 01:00:56 Gargoyle user.info sysinit: Loading redirects
Jan 1 01:00:56 Gargoyle user.info sysinit: Loading rules
Jan 1 01:00:56 Gargoyle user.info sysinit: Loading includes
Jan 1 01:00:56 Gargoyle user.info sysinit: Loading zone defaults
Jan 1 01:00:57 Gargoyle cron.err crond[1456]: crond (busybox 1.15.3) started, log level 5
Jan 1 01:00:57 Gargoyle authpriv.info dropbear[1465]: Running in background
Jan 1 01:00:58 Gargoyle daemon.crit httpd_gargoyle[1517]: socket :: - Address family not supported by protocol
Jan 1 01:00:58 Gargoyle daemon.err httpd_gargoyle[1517]: unknown sockaddr family on listen socket - 0
Jan 1 01:00:59 Gargoyle daemon.warn httpd_gargoyle[1557]: started as root without requesting chroot(), warning only
Jan 1 01:00:59 Gargoyle daemon.notice httpd_gargoyle[1557]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Jan 1 01:00:59 Gargoyle cron.err crond[1580]: crond (busybox 1.15.3) started, log level 5
Jan 1 01:00:59 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Jan 1 01:00:59 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Jan 1 01:01:01 Gargoyle cron.err crond[1580]: USER root pid 1986 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Jan 1 01:01:01 Gargoyle cron.err crond[2003]: crond (busybox 1.15.3) started, log level 5
Jan 1 01:01:03 Gargoyle daemon.info dnsmasq[2023]: started, version 2.55 cachesize 150
Jan 1 01:01:03 Gargoyle daemon.info dnsmasq[2023]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Jan 1 01:01:03 Gargoyle daemon.info dnsmasq-dhcp[2023]: DHCP, IP range 192.168.1.100 -- 192.168.1.250, lease time 12h
Jan 1 01:01:03 Gargoyle daemon.info dnsmasq[2023]: using local addresses only for domain lan
Jan 1 01:01:03 Gargoyle daemon.info dnsmasq[2023]: reading /tmp/resolv.conf.auto
Jan 1 01:01:03 Gargoyle daemon.info dnsmasq[2023]: using nameserver (...).160.1#53
Jan 1 01:01:03 Gargoyle daemon.info dnsmasq[2023]: using nameserver (...).161.138#53
Jan 1 01:01:03 Gargoyle daemon.info dnsmasq[2023]: using local addresses only for domain lan
Jan 1 01:01:03 Gargoyle daemon.info dnsmasq[2023]: read /etc/hosts - 2 addresses
Jan 1 01:01:03 Gargoyle daemon.info dnsmasq-dhcp[2023]: read /etc/ethers - 0 addresses
Jan 1 01:01:03 Gargoyle daemon.warn exportfs[2038]: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Jan 1 01:01:03 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Jan 1 01:01:03 Gargoyle daemon.err exportfs[2038]: can't lock /var/lib/nfs/etab for writing
Jan 1 01:01:03 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Jan 1 01:01:03 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Jan 1 01:01:03 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Jan 1 01:01:04 Gargoyle user.info sysinit: setting up led WLAN
Jan 1 01:01:04 Gargoyle user.debug kernel: ar71xx-wdt: enabling watchdog timer
Jan 1 01:01:20 Gargoyle authpriv.info dropbear[2084]: Child connection from 192.168.1.100:1100
Jan 1 01:01:26 Gargoyle authpriv.notice dropbear[2084]: password auth succeeded for 'root' from 192.168.1.100:1100
Jan 1 01:01:54 Gargoyle daemon.crit httpd_gargoyle[2093]: error: can't initialize ssl connection, error = -213EDIT:
Po wyrzuceniu z fstab montowania /tmp, wrocilo do normy:
#config mount
# option target /tmp
# option device /dev/sda3
# option fstype ext3
# option options rw,sync
# option enabled 1
# option enabled_fsck 0Witam.
Ja mam natomiast taka zagwozdkę:
to jest mój konf fstaba:
config 'global' 'automount'
option 'from_fstab' '1'
option 'anon_mount' '0'
config 'global' 'autoswap'
option 'from_fstab' '1'
option 'anon_swap' '0'
config 'mount'
option 'device' '/dev/sda1'
option 'enabled_fsck' '0'
option 'fstype' 'ext2'
option 'options' 'rw,noatime'
option 'enabled' '1'
option 'is_rootfs' '1'
option 'uuid' '170f6654-d485-4f4f-888e-bc4ddcc97807'
config 'swap'
option 'device' '/dev/sda2'
option 'enabled' '1'
option 'uuid' '5dd1345c-df4b-4867-badd-8d9e0e3608f4'
config 'mount'
option 'target' '/ftp'
option 'device' '/dev/sdb1'
option 'enabled_fsck' '1'
option 'fstype' 'ext2'
option 'options' 'rw,noatime'
option 'enabled' '1'
option 'uuid' 'b6c5b168-df3f-4dfe-8edd-e35c856777ac'Krótki opis sytuacyjny:
-Karta SD powinna być zawsze montowana jako overlay ( /dev/sda1 ) oraz swap ( /dev/sda2 ) ( uuid odpowiednio 170f6654-d485-4f4f-888e-bc4ddcc97807 oraz 5dd1345c-df4b-4867-badd-8d9e0e3608f4 )
-Pendrive powinien być zawsze montowany jako /ftp z partycji o uuid b6c5b168-df3f-4dfe-8edd-e35c856777ac
Problem polega na tym, że jeżeli włożona jest tylko i wyłącznie karta to wszystko jest cacy - ext-root działa, swap działa, natomiast po włożeniu pendrive jest on widoczny jako /dev/sda1 czym nerwi mnie niemiłosiernie. Najzabawniejsze jest to, że przy reboocie system raz widzi dobrze partycje, a raz nie. Więc z związku z tym mam pytanie - czy jest możliwość zmuszenia fstaba, aby montował tak jak chce user, czy też trzeba się do tego stanu rzeczy przyzwyczaić?
Pozdrawiam,
Piter
MUSI montować tak jak chcesz. Usuń option device, zostaw samo uuid.
To samo
Zaraz dostane ^&*(&*( ]:->
Zrób inaczej ten konfig - w pliku we flash montuj tylko extroota. Później wyedytuj go i montuj /ftp i swap.
Zonk... Możesz wejść na jabbera? zostawiłem tam małe info ![]()
Strony Poprzednia 1 2
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Nowe partycje na dysku USB i problemy
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc