Page 2 of 13

Posted: Wed 16 Jan 2013, 17:26
by mavrothal
bark_bark_bark wrote:I know what Aufs is, I just think it sucks.
I see.
And what your preferred layered filesystem would be? (and why?)

Posted: Wed 16 Jan 2013, 17:30
by bark_bark_bark
Aufs is not a layered FS, but I'll just deal with it's existence for now.

Posted: Wed 16 Jan 2013, 17:41
by mavrothal
bark_bark_bark wrote:Aufs is not a layered FS
Is not?
How would you characterize it then?

Posted: Wed 16 Jan 2013, 17:49
by pemasu
http://aufs.sourceforge.net/
Aufs3 -- advanced multi layered unification filesystem version 3.x
http://aufs.sf.net
Junjiro R. Okajima

Posted: Wed 16 Jan 2013, 18:08
by bark_bark_bark
oh wow thank you for the clarifaction.

Posted: Wed 16 Jan 2013, 18:22
by mavrothal
pemasu,
you are not fun at all... :lol:

Posted: Wed 16 Jan 2013, 21:04
by simargl
For new release there will be 3 sfs files in main iso:
archpup-132.sfs (core + Xorg)
adrv-132.sfs (openbox+thunar+geany)
archapps-132.sfs (qt firefox and everything else)


If for example archpup-132.sfs need some fixing I can after upload only that file not the whole iso.

development files from archpup-132.sfs will be moved to archdev.sfs, but
adrv and archapps will be self-containable -> nothing will be splitted :x, that is only right way

Adequate photo :P
Image

Posted: Wed 16 Jan 2013, 21:57
by darkcity
this is my system-
Image

Posted: Thu 17 Jan 2013, 05:53
by mavrothal
simargl wrote: mounting cd-rom, dvd, and usb :o fat-32 formatted all works
but :!: mounting internal hard disk drive (ntfs or ext4), failed with something like 'specify partition type error'
In devices list in spacefm are shown mount loop files, I couldn't disable that.
Interesting is that usb devices are handled properly with spacefm but they don't show at all in thunar without restarting pup-volume-monitor.
If I am able to fix problems with mounting internal disk and hiding loop devices, this could easily replace thunar and pup-volume-monitor.
To remove loop files I added this to /root/.config/spacefm/session*

Code: Select all

dev_show_hide_volumes-s=-/dev/loop0 -/dev/loop1 -/dev/loop2 -/dev/loop3 -/dev/loop4 -/dev/loop5  # etc
Like you I had problem mounting internal drives but also USB srives (ext or fat). It says "no mount program was found" and asks for udisks a 3+MB download.
Maybe a custom command to use pmount... :wink:

Posted: Thu 17 Jan 2013, 08:31
by simargl
mavrothal wrote:Like you I had problem mounting internal drives but also USB srives (ext or fat). It says "no mount program was found" and asks for udisks a 3+MB download.
Maybe a custom command to use pmount...
It works also with udevil, only that drives are mounted to /run/root/* instead of /mnt/.
Maybe make custom script apmount :idea: with options mount and unmount and call that from spacefm.

Posted: Thu 17 Jan 2013, 08:53
by Anniekin
interested... compiled for i686 or wat?

Posted: Thu 17 Jan 2013, 09:27
by simargl
Yes, Arch Linux is optimized for i686 cpu.
mavrothal: I made apmount script, works with every tested device and is so simple that I will add it below. :)

Code: Select all

#!/bin/bash

mount_function() {
  DRIVE=$(echo $DRIVE_FULL | sed 's/\/dev\///')
  if [ ! -d /mnt/$DRIVE ]; then mkdir /mnt/$DRIVE; fi
  mount /dev/$DRIVE /mnt/$DRIVE
}

umount_function() {
  umount $DRIVE_FULL
}

case "$1" in

  mount)
    DRIVE_FULL="$2"
    mount_function ;;

  umount)
    DRIVE_FULL="$2"
    umount_function ;; 
    
  *)
    echo "apmount
options: mount umount" ;;
esac

Posted: Thu 17 Jan 2013, 09:58
by mike delaw
Hi!

I like ArchPup a lot since everything works and works good. But I have a couple of questions ( I am a complete newbie in Arch based Distros so please bear with me):

- how do I set a keymap to Slovenian language?

I have installed additional software (I didn't set any mirrors since default one is really fast!), but I have ran into problems with Wine and VLC:
- I have installed wine (or I think I did) bu it's not showing in menus ...
- I have installed VLC through yaourt but it didn't show up in menu. I tried pacman -S vlc and then it showed up in the menu, but refused to open.

What are proper commands for those two - pacman -S wine and pacman -S vlc or should I do something else ...

I am sorry that I have to ask these elementary questions, but I just want to know ...

Posted: Thu 17 Jan 2013, 10:36
by simargl
Hi mike delaw, and welcome 8)
For changing keymap to slovenian I believe you should edit /root/.start and replace

Code: Select all

setxkbmap us
setxkbmap si 
VLC will not run as root, that is decision of its developers, so use this (to start it as user arch)

Code: Select all

su arch
vlc 
For wine first start winecfg from terminal, setup your options and it will then work.
Also you might consider using makesfs wine, to have program wine in sfs module and load only
when you need it. :wink:

Posted: Thu 17 Jan 2013, 10:36
by mike delaw
Thank you.

Posted: Thu 17 Jan 2013, 14:06
by stifiling
Sim you don't like the idea of using the ydrv for archapps.sfs on the second iso?

This is the way i was seeing it as being for clean and easy use:

DISTRO_PUPPYSFS='archpup-12.12.sfs'
DISTRO_ADRVSFS='adrv-*-12.12.sfs'
DISTRO_YDRVSFS='archapps-12.12.sfs'

this way, if you use the * in the distro specs for adrv...the DE/WM can be easily changed...but still keeping the archapps useable.

so on the main.iso it would be:
adrv-openbox-12.12.sfs
archpup-12.12.sfs

and second.iso would be:
adrv-openbox-12.12.sfs
archpup-12.12.sfs
archapps-12.12.sfs

and also having premade and downloadable:
adrv-mate-12.12.sfs
adrv-xfce-12.12.sfs
adrv-kde-12.12.sfs
adrv-e17-12.12.sfs
adrv-lxde-12.12.sfs

to easily switch environments, but still being able to use the archapps.sfs. the user could download the mate.sfs and delete the openbox.sfs....and be ready to use the system using mate, and archapps.

and if the * is used in the distro specs file....it'll see whichever DE sfs the user may have in place. rather than having to rename it or something like that...

Posted: Thu 17 Jan 2013, 14:27
by simargl
I will use 3 sfs files as mentioned in page 2 in post with that funny picture :D
This:
adrv-mate-12.12.sfs
adrv-xfce-12.12.sfs
adrv-kde-12.12.sfs
adrv-e17-12.12.sfs
adrv-lxde-12.12.sfs
... sounds perfect, but I don't know if DISTRO_ADRVSFS='adrv-*-12.12.sfs' is supported :?:

Posted: Thu 17 Jan 2013, 14:29
by stifiling
simargl wrote:I will use 3 sfs files as mentioned in page 2 in post with that funny picture :D
This:
adrv-mate-12.12.sfs
adrv-xfce-12.12.sfs
adrv-kde-12.12.sfs
adrv-e17-12.12.sfs
adrv-lxde-12.12.sfs
... sounds perfect, but I don't know if DISTRO_ADRVSFS='adrv-*-12.12.sfs' is supported :?:
it works sim...i tested it.

Posted: Thu 17 Jan 2013, 15:35
by simargl
mavrothal,
In /tmp/bootsysinit.log this error is reported
df: '/pup_new': No such file or directory
So I opened init script from initrd.gz, and it must be problem with these lines */1239-1241/

Code: Select all

#RW (top) layer now has a tmpfs, PDEV1 or ${DISTRO_FILE_PREFIX}save mounted on it. calc free space...
[ $FREEK -eq 0 ] && FREEK=`df | grep ' /pup_rw' | tr -s ' ' | cut -f 4 -d ' '`
[ ! $FREEK ] && FREEK=0
This is with new initrd.gz (adrv and ydrv), with old one that had just adrv this error is not
reported. I will atach init script, so you could compare maybe I didn't apply patch correctly.

Posted: Thu 17 Jan 2013, 17:36
by mavrothal
simargl wrote:mavrothal,
In /tmp/bootsysinit.log this error is reported
df: '/pup_new': No such file or directory
So I opened init script from initrd.gz, and it must be problem with these lines */1239-1241/

Code: Select all

#RW (top) layer now has a tmpfs, PDEV1 or ${DISTRO_FILE_PREFIX}save mounted on it. calc free space...
[ $FREEK -eq 0 ] && FREEK=`df | grep ' /pup_rw' | tr -s ' ' | cut -f 4 -d ' '`
[ ! $FREEK ] && FREEK=0
This is with new initrd.gz (adrv and ydrv), with old one that had just adrv this error is not
reported. I will atach init script, so you could compare maybe I didn't apply patch correctly.
I do not know why (did you apply the patch "manually"?) but in your init (lines 1879-1880) you have:

Code: Select all

mount -t aufs -o udba=reval,diropq=w,dirs=${UMNTRW}${UMNTRO0}${ALAYER}${UMNTRO1}${ZLAYER}${UMNTRO} unionfs /pup_new
 mount -t aufs -o udba=reval,diropq=w,dirs=${UMNTRW}${UMNTRO0}${ALAYER}${YLAYER}${UMNTRO1}${ZLAYER}${UMNTRO} unionfs /pup_new 
Comment out the first one if you want adrv and ydrv. Comment out the second for ardv only.

I trust that you have added all the needed mount points in initramfs