Where to access /etc on my flash drive?

Status
Not open for further replies.
R

RaveAngel

Guest
[Solved] Where to access /etc on my flash drive?

Hello alltogether,

I'm new to FreeNAS (8.0) and have a (maybe little stupid) question to which I'm unable to fine an answer. :-/
I have 2 Samsung EcoGreen F4 HD204UI, which are unable to handle with the APM settings in FreeNAS. They either spin up and down all few seconds (APM 1 - 127) or constantly increase the load cycle count when I access after a few seconds break (APM 128 - 254). Using ataidle with the -I flag works, so I want to alter the file /usr/local/etc/rc.d/ataidle to automatically apply these settings after booting. You see my problem: I can'n access /etc on my usb flash drive since my RAM is mounted is /etc. When I manually try to mount my flash drive I get this:
Code:
freenas# mount /dev/da0s1a /mnt/usb-stick/
mount: /dev/da0s1a : Operation not permitted
Code:
freenas# bsdlabel /dev/da0s1
# /dev/da0s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   953489       16    unused        0     0       
  c:   953505        0    unused        0     0         # "raw" part, don't edit
Shouldn't the fstype be known since it starts from this partition? oO
I'm a little at loss. Help. :confused:

Regards
Mario
 

Durkatlon

Patron
Joined
Aug 19, 2011
Messages
414
The file you want to modify is in /conf:
Code:
# mount -uw /
# ee /conf/base/etc/local/rc.d/ataidle
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
The fstype stored in the disklabel is advisory in nature and is often not set properly. You cannot mount a mounted disk partition on an alternate mountpoint.
 
Status
Not open for further replies.
Top