ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Поставил Alt Master 2.4 и появились вопросы
@ 2005-02-06 14:11 Loginov W.W.
  2005-02-06 14:48 ` Ksquirrel sf.net
  2005-02-06 15:29 ` Sergey Vlasov
  0 siblings, 2 replies; 3+ messages in thread
From: Loginov W.W. @ 2005-02-06 14:11 UTC (permalink / raw)
  To: Alt Master Community

1.  Не могу смонтировать раздел. На нём корень MDK-10.1
 Вот кусочек /etc/fstab  
 /dev/hda7 /mnt/lin ext3 user,umask=0 1 1
 Вот что выдаёт
 [log@localhost etc]$ mount /dev/hda7
mount: wrong fs type, bad option, bad superblock on /dev/hda7,
       or too many mounted file systems
       
2. Не могу запустить програмы из /sbin и /usr/sbin без указания полного 
пути. Пример
[root@localhost etc]# ifconfig
bash: ifconfig: command not found
а вот так нормально
[root@localhost etc]# /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:6E:10:58:A9
          inet addr:192.168.81.1  Bcast:192.168.81.255  Mask:2
Вот ещё
[root@localhost etc]# $PATH
bash: 
/home/log/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games: No 
such file or directory
Как я понимаю, нужно поправить переменную окружения $PATH для BASH, но как?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] Поставил Alt Master 2.4 и появились вопросы
  2005-02-06 14:11 [Comm] Поставил Alt Master 2.4 и появились вопросы Loginov W.W.
@ 2005-02-06 14:48 ` Ksquirrel sf.net
  2005-02-06 15:29 ` Sergey Vlasov
  1 sibling, 0 replies; 3+ messages in thread
From: Ksquirrel sf.net @ 2005-02-06 14:48 UTC (permalink / raw)
  To: community

Sun, 06 Feb 2005 17:11:24 +0300, "Loginov W.W." <altmaster@list.ru> 
писал(а):

>Как я понимаю, нужно поправить переменную окружения $PATH для BASH, 
>но как?


Попробуй в ~/.profile прописать нужный тебе PATH
  
---
Со 2 марта начинается новый 3-месячный курс изучения английского языка в школе
мистера Бола по его уникальному методу. Записаться на собеседование можно по
телефону +375 (17) 284 7949. http://www.mrball.nsys.by


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] Поставил Alt Master 2.4 и появились вопросы
  2005-02-06 14:11 [Comm] Поставил Alt Master 2.4 и появились вопросы Loginov W.W.
  2005-02-06 14:48 ` Ksquirrel sf.net
@ 2005-02-06 15:29 ` Sergey Vlasov
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Vlasov @ 2005-02-06 15:29 UTC (permalink / raw)
  To: Alt Master Community

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

On Sun, Feb 06, 2005 at 05:11:24PM +0300, Loginov W.W. wrote:
> 1.  Не могу смонтировать раздел. На нём корень MDK-10.1
> Вот кусочек /etc/fstab  
> /dev/hda7 /mnt/lin ext3 user,umask=0 1 1

У ext3 нет опции монтирования umask.

> 2. Не могу запустить програмы из /sbin и /usr/sbin без указания полного 
> пути. Пример
> [root@localhost etc]# ifconfig
> bash: ifconfig: command not found
> а вот так нормально
> [root@localhost etc]# /sbin/ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:0C:6E:10:58:A9
>          inet addr:192.168.81.1  Bcast:192.168.81.255  Mask:2
> Вот ещё
> [root@localhost etc]# $PATH
> bash: 
> /home/log/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games: No 
> such file or directory
> Как я понимаю, нужно поправить переменную окружения $PATH для BASH, но как?

Нужно просто вместо "su" использовать "su -" (иначе, помимо $PATH, там
ещё и $HOME не тот получается).

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-02-06 15:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-06 14:11 [Comm] Поставил Alt Master 2.4 и появились вопросы Loginov W.W.
2005-02-06 14:48 ` Ksquirrel sf.net
2005-02-06 15:29 ` Sergey Vlasov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git