![]() |
2006-07-11
, 11:54
|
Posts: 286 |
Thanked: 259 times |
Joined on Jan 2006
@ Cambridge, England
|
#132
|
Rich-
According to his site, the port to 2006 is on hold because the shutdown scripts use /home/user as their home directory.
![]() |
2006-07-11
, 15:15
|
|
Posts: 1,463 |
Thanked: 81 times |
Joined on Oct 2005
@ UK
|
#133
|
#!/bin/sh if [ "x$1" != "xreexec" ]; then cd / exec $0 reexec fi ...
![]() |
2006-07-11
, 18:29
|
Posts: 190 |
Thanked: 5 times |
Joined on Nov 2005
@ Bee-u-tee-ful Garden Home, Oregon
|
#134
|
The current working directory of the script when invoked like this is /home/user, meaning that trying to unmount it - if it's a union (which most people would have) - is tricky.
![]() |
2006-07-28
, 05:23
|
Posts: 450 |
Thanked: 16 times |
Joined on Mar 2006
|
#135
|
![]() |
2006-07-28
, 13:18
|
Posts: 286 |
Thanked: 259 times |
Joined on Jan 2006
@ Cambridge, England
|
#136
|
after I entered "umount/media/mmc1," I get the message "Device or resource busy." What does this mean and what do I do now? Thanks for any help you can provide.
![]() |
2006-07-29
, 02:24
|
Posts: 450 |
Thanked: 16 times |
Joined on Mar 2006
|
#137
|
![]() |
2006-07-29
, 11:00
|
Posts: 286 |
Thanked: 259 times |
Joined on Jan 2006
@ Cambridge, England
|
#138
|
cd /
![]() |
2006-07-29
, 18:55
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#139
|
Rich: I'm very frustrated. This is the first command I'm instructed to enter in this exercise -- and it fails! I can't get past the "Device or resource busy" message. The only "devise or resource" I can discover to be "busy" is apparently the x-term itself -- which I assume I need to have operational in order to enter the command. Where do I look on my 880 to see if perhaps something else is "busy", and what characterizes a "device or resource" which could be "busy?. I expect I'm asking too much of you, or anyone else reading this. But, as I said, I am frustrated. Thanks for your interest. Jim
![]() |
2006-07-30
, 16:37
|
|
Posts: 1,463 |
Thanked: 81 times |
Joined on Oct 2005
@ UK
|
#140
|
after I entered "umount/media/mmc1," I get the message "Device or resource busy." What does this mean and what do I do now?
I've exchanged a few e-mails with the author of mmc-unionfs, but that was about a month ago. According to his site, the port to 2006 is on hold because the shutdown scripts use /home/user as their home directory.
Bummer. I hope this gets resolved soon.
Until then... if you're the daring sort... I've attached my port of mmc-unionfs. The installer will simply install the kernel module and software for mmc-unionfs, so you'll have to run "setup" and "enable-boot" (as per the above documentation) to actually setup and activate a union.
This package will install as "mmc-unionfs-hack" and should be un-installed and replaced with the "real" mmc-unionfs package as soon as it's released.
I don't guarantee it works, but I've been using it for weeks now without problems (well, unless I crash the 770 - then I need to pull the MMC and run e2fsck on it to make sure the filesystem is ok).
Oh yeah... this is important - You'll need to modify a pair of scripts in /etc/init.d (as root, of course):
Specifically, edit "minireboot" and "minishutdown".
you'll need to manually edit the line:
umount -r /media/mmc1 /mnt/initfs /
To be:
umount -r /media/mmc1 /media/mmc2 /mnt/initfs /
This will make sure the union will be unmounted at shutdown and reboot. If you don't, you'll end up with a corrupt ext2 filesystem.
Just for practice, I'm going to modify the installer to automatically modify the minireboot and minishutdown scripts just to make things easier; I'll update this post when the time comes FWIW.
Hope this is useful,
Brad.