From owner-freebsd-questions@FreeBSD.ORG Sun Jan 20 20:48:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C5CA3B1E for ; Sun, 20 Jan 2013 20:48:33 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm5-vm0.bullet.mail.ird.yahoo.com (nm5-vm0.bullet.mail.ird.yahoo.com [77.238.189.207]) by mx1.freebsd.org (Postfix) with ESMTP id C7E77324 for ; Sun, 20 Jan 2013 20:48:32 +0000 (UTC) Received: from [77.238.189.230] by nm5.bullet.mail.ird.yahoo.com with NNFMP; 20 Jan 2013 20:48:30 -0000 Received: from [217.146.189.101] by tm11.bullet.mail.ird.yahoo.com with NNFMP; 20 Jan 2013 20:48:30 -0000 Received: from [127.0.0.1] by smtp117.mail.ird.yahoo.com with NNFMP; 20 Jan 2013 20:48:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1358714910; bh=r+d8mu/a7JXIu4jLYTasvUeSAc4HrC4C/Jz6Q63/Lkw=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Content-Type:Date:Subject:To:MIME-Version:Content-Transfer-Encoding:From:Message-ID:User-Agent; b=xrUgc1ZBaDvEeMrfcJlL2SgLIMc48p5hTw+JyN4R7A+2L50o02+LiECjbp2arGOXHvlC4wkXCj+4Ss9tozpWkQxOsoefE35STr99ISqw4/HcFMkAW1OAF4KYq2ESPMYLgPoEAu75EYL/c28wQ2P9MSc/hFTUWWysKSLPqPqqHJo= X-Yahoo-Newman-Id: 316200.62090.bm@smtp117.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: pXDopZIVM1lv0.5hYZJXYkt.d41hioAl79rkNdTy1vm_pw. tZIPIOtJ7ZFaJjtsRHJbwgsCV0wuhxhVc0zAgE7QxeQ_JAXJxb29xzWcvME1 XyZkc2oMKq2vSCJA6xThGnTYY4vE4BJTGlyzawlvahvTg.kLwGJpCiQcE979 n747oy_lIt2zWGZEOkrz1PReKcj0C_6BHjIYqrZyhmH4TSSyVPfZiWRUOboY K88JPS2i0zsWTJevc.g.0kXUP3YEDa5EWNPRKZG5xVmmZuOuL_Id8IDxoCA4 y1a2aWIp4.EzUsSSwpnb3uLnq5yEZ6j3e37Aj27orFQPlAvAUuS0LyyqmDAc Li_O5_oLDhEh_NAgqvE4F8kmsyPKDDzTkbNs9kbvmFEhd7mzeUdIfkDM8xNM jl0rRGaHyr7E4WGpwnLg_KLHUDJh7_uG4Qlw7YpOQvkY- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from freebsd (ralf.mardorf@85.182.19.98 with login) by smtp117.mail.ird.yahoo.com with SMTP; 20 Jan 2013 12:48:30 -0800 PST Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Date: Sun, 20 Jan 2013 21:48:29 +0100 Subject: ext3 file system To: "FreeBSD quest" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ralf Mardorf" Message-ID: User-Agent: Opera Mail/12.12 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 20:48:33 -0000 Hi :) is it possible to mount Linux ext3 file systems with fstab by label? Before I run mount -a /mnt/dump had the same permissions, owner and group as /mnt/archlinux has got. Is it possible to keep this? Both are Linux ext3 fs. Mounting without a label does work. root@freebsd:/usr/home/rocketmouse # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass /dev/ad4s1b none swap sw 0 0 /dev/ad4s1a / ufs rw 1 1 /dev/ad4s1e /tmp ufs rw 2 2 /dev/ad4s1f /usr ufs rw 2 2 /dev/ad4s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 #proc /proc procfs rw 0 0 /dev/ada0s8 /mnt/dump ext2fs rw 0 0 #/dev/label/dump /mnt/dump ext2fs rw 0 0 #/dev/label/archlinux /mnt/archlinux ext2fs rw 0 0 root@freebsd:/usr/home/rocketmouse # ls -l /mnt total 6 drwxr-xr-x 2 rocketmouse wheel 512 Jan 20 20:51 archlinux drwxrwxrwx 2 root wheel 4096 Jan 20 20:09 dump root@freebsd:/usr/home/rocketmouse # ls -l / | grep mnt drwxr-xr-x 4 root wheel 512 Jan 20 20:51 mnt I still search the Internet, but had bad luck until now. If I run 'gpart show -l' I can't see what /dev archlinux is, it doesn't show Linux labels, so I need to restart and boot Linux to see at what position it is, to figure out what /dev/ada*s* archlinux is. Regards, Ralf